diff options
Diffstat (limited to 'src/memory.h')
-rw-r--r-- | src/memory.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/memory.h b/src/memory.h index 3c38af7..c5b6367 100644 --- a/src/memory.h +++ b/src/memory.h @@ -18,18 +18,20 @@ enum cell_type { struct cell { uint8_t type; - union car { + union { struct cell *free; struct cell *cons; - struct {int type : 8; int size : 24;} ARRAY_CELL; + struct {int type : 8; int size : 24;} array_cell; uint32_t int_; uint32_t char_; float float_; REDACTED_t apioform; - }; + } car; struct cell *cdr; }; +uint32_t memory_available; + void init_memory(multiboot_info_t *mb); #endif |