Add PMM stubs.
[seabios.git] / src / post.c
index 052edb576e776732cc60adefacdea5811b1f9810..9568ca488680cb83e4989ed7cd9c862086822f48 100644 (file)
@@ -167,6 +167,7 @@ post()
     mtrr_setup();
     smp_probe();
     malloc_setup();
+    pmm_setup();
 
     pnp_setup();
     vga_setup();
@@ -180,8 +181,6 @@ post()
     smm_init();
 
     init_bios_tables();
-    malloc_finalize();
-    memmap_finalize();
 
     boot_setup();
 
@@ -189,6 +188,10 @@ post()
     hard_drive_setup();
 
     optionrom_setup();
+
+    pmm_finalize();
+    malloc_finalize();
+    memmap_finalize();
 }
 
 // 32-bit entry point.