aboutsummaryrefslogtreecommitdiff
path: root/src/memmap.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-08-30 19:19:31 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-08-30 19:19:31 -0400
commit415d4298dfad6122c5a41214bd977b3598317718 (patch)
tree2e60f94207aee637c6c22dbc8912630a443e9497 /src/memmap.h
parent7b184d8470308095340622d8376878a20fff299e (diff)
downloadseabios-hppa-415d4298dfad6122c5a41214bd977b3598317718.zip
seabios-hppa-415d4298dfad6122c5a41214bd977b3598317718.tar.gz
seabios-hppa-415d4298dfad6122c5a41214bd977b3598317718.tar.bz2
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/memmap.h b/src/memmap.h
index 4494538..616ae35 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;