diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-08-30 19:19:31 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-08-30 19:19:31 -0400 |
commit | 415d4298dfad6122c5a41214bd977b3598317718 (patch) | |
tree | 2e60f94207aee637c6c22dbc8912630a443e9497 /src/memmap.h | |
parent | 7b184d8470308095340622d8376878a20fff299e (diff) | |
download | seabios-415d4298dfad6122c5a41214bd977b3598317718.tar.gz |
Cleanups for malloc code.
Fix bug where zones over 2gig may fail to allocate.
Add memalign_high() and use for acpi facs allocation.
Misc code cleanups.
Diffstat (limited to 'src/memmap.h')
-rw-r--r-- | src/memmap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/memmap.h b/src/memmap.h index 4494538d..616ae353 100644 --- a/src/memmap.h +++ b/src/memmap.h @@ -21,6 +21,9 @@ void memmap_setup(); void memmap_finalize(); struct e820entry *find_high_area(u32 size); +// A typical OS page size +#define PAGE_SIZE 4096 + // e820 map storage (defined in system.c) extern struct e820entry e820_list[]; extern int e820_count; |