shrub/include/noun
Brandon Curtis 5e9f4470c7 Use U3_OS_LoomBits To Set Reserved Memory Size
The size and starting position of Urbit's reserved memory block is set by `U3_OS_LoomBits` and `U3_OS_LoomBase` in `include/c/portable.h`.

`U3_OS_LoomBase` is referenced in `include/noun/allocate.h` and sets the position in memory of u3_Loom.  This is good.

However, `U3_OS_LoomBits` is not actually used to set the size of the reserved memory block.  Instead:

in `include/allocate.h`,
 - `u3a_bits` is defined
 - `u3a_bits` → `u3a_bytes`
 
in `noun/manage.c`, 
 - `u3a_bytes` → `len_w` in `_cm_init()`
 - `len_w` sets the reserved memory block size

This proposal puts `U3_OS_LoomBits` back to work by defining `u3a_bits` with it.
2016-08-19 04:55:06 -07:00
..
aliases.h descriptive names for c files 2015-06-23 21:29:11 -04:00
allocate.h Use U3_OS_LoomBits To Set Reserved Memory Size 2016-08-19 04:55:06 -07:00
events.h descriptive names for c files 2015-06-23 21:29:11 -04:00
hashtable.h descriptive names for c files 2015-06-23 21:29:11 -04:00
imprison.h descriptive names for c files 2015-06-23 21:29:11 -04:00
jets.h descriptive names for c files 2015-06-23 21:29:11 -04:00
manage.h Fully shifted over to modern typed namespace. 2016-02-03 20:51:01 -08:00
nock.h More typed .^. 2016-02-03 13:33:43 -08:00
options.h descriptive names for c files 2015-06-23 21:29:11 -04:00
retrieve.h Proper double-word merge. 2015-11-06 22:08:58 +00:00
trace.h descriptive names for c files 2015-06-23 21:29:11 -04:00
vortex.h descriptive names for c files 2015-06-23 21:29:11 -04:00
xtract.h Run soft code for %cnts in mint, mull, play. 2016-01-08 16:27:41 -08:00
zave.h descriptive names for c files 2015-06-23 21:29:11 -04:00