diff options
author | Benji Dial <Benji3.141@gmail.com> | 2019-12-25 11:49:06 -0500 |
---|---|---|
committer | Benji Dial <Benji3.141@gmail.com> | 2019-12-25 11:49:06 -0500 |
commit | 2b7b69e1ffd00aefa60d73a5af3bacc1c803a930 (patch) | |
tree | 3773bc2c0dddf2e559a5008409e0ea87c3a7ca98 /src/kernel/mem.h | |
parent | 75207f727582b8c2350f0e9cd539e119586fe19a (diff) | |
download | portland-os-2b7b69e1ffd00aefa60d73a5af3bacc1c803a930.tar.gz |
more progress
Diffstat (limited to 'src/kernel/mem.h')
-rw-r--r-- | src/kernel/mem.h | 8 |
1 files changed, 4 insertions, 4 deletions
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); |