Be sure to add "void" to all function prototypes that take no args.
[seabios.git] / src / memmap.h
index 8df9ed09f7bf875d713a14b8a728442e067fe17c..68eb6ac51b941cd841f17a3c794443320483d49a 100644 (file)
@@ -17,13 +17,12 @@ struct e820entry {
 };
 
 void add_e820(u64 start, u64 size, u32 type);
-void memmap_setup();
-void memmap_finalize();
+void memmap_setup(void);
+void memmap_finalize(void);
+struct e820entry *find_high_area(u32 size);
 
-void *malloc_high(u32 size);
-void *malloc_fseg(u32 size);
-void malloc_setup();
-void malloc_finalize();
+// A typical OS page size
+#define PAGE_SIZE 4096
 
 // e820 map storage (defined in system.c)
 extern struct e820entry e820_list[];