Add malloc_high/fseg() and rework bios table creation to use them.
[seabios.git] / src / memmap.h
index 8338c430867e572d9bc1e290f07cc79ad69553dd..8df9ed09f7bf875d713a14b8a728442e067fe17c 100644 (file)
@@ -20,12 +20,16 @@ void add_e820(u64 start, u64 size, u32 type);
 void memmap_setup();
 void memmap_finalize();
 
+void *malloc_high(u32 size);
+void *malloc_fseg(u32 size);
+void malloc_setup();
+void malloc_finalize();
+
 // e820 map storage (defined in system.c)
 extern struct e820entry e820_list[];
 extern int e820_count;
 
 // Space for exported bios tables (defined in misc.c)
-extern u32 bios_table_cur_addr, bios_table_end_addr;
 extern char BiosTableSpace[];
 
 #endif // e820map.h