From 2b7b69e1ffd00aefa60d73a5af3bacc1c803a930 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Wed, 25 Dec 2019 11:49:06 -0500 Subject: more progress --- src/kernel/mem.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/kernel/mem.h') diff --git a/src/kernel/mem.h b/src/kernel/mem.h index 1eb27bd..106db90 100644 --- a/src/kernel/mem.h +++ b/src/kernel/mem.h @@ -29,11 +29,11 @@ enum special_mmap_codes { }; struct mmap_entry { - uint64_t base; - uint64_t length; - uint32_t whose; + uint32_t base; + uint32_t length; + uint16_t whose; struct mmap_entry *next; -} __attribute__ ((__packed__)); +}; struct mmap_entry *mmap_start; void *allocate_block(uint32_t size, uint16_t proc_n); -- cgit v1.2.3