shrub/include
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
..
c update openbsd c3_rand to use 512 bits of entropy 2016-08-12 14:58:52 -04:00
jets Merge branch 'jet-aes', remote-tracking branch 'dhaffey/burn-zeroing' 2016-08-10 15:00:51 -07:00
noun Use U3_OS_LoomBits To Set Reserved Memory Size 2016-08-19 04:55:06 -07:00
vere Merge remote-tracking branches 'philipcmonk/new-lens' and 'galenwp/arch' 2016-04-14 15:09:15 -04:00
all.h descriptive names for c files 2015-06-23 21:29:11 -04:00