summaryrefslogtreecommitdiff
path: root/kern/bootstrap.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-04-01 14:01:14 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-08-26 16:29:35 +0200
commit43a79045d1164a0bf32a9185ad8189334c0b782d (patch)
tree0cad2bc4c125a795766a627b4b6a64c944544bfd /kern/bootstrap.c
parent7915e8ca1e3fa2f76efe2f5f9d323718a430d5f6 (diff)
XXX pmm from x15, userspace crashes soon
Diffstat (limited to 'kern/bootstrap.c')
-rw-r--r--kern/bootstrap.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/kern/bootstrap.c b/kern/bootstrap.c
index d95395c..bb6606c 100644
--- a/kern/bootstrap.c
+++ b/kern/bootstrap.c
@@ -262,10 +262,9 @@ void bootstrap_create(void)
panic ("ERROR in executing boot script: %s",
boot_script_error_string (losers));
}
- /* XXX we could free the memory used
- by the boot loader's descriptors and such. */
- for (n = 0; n < boot_info.mods_count; n++)
- vm_page_create(bmods[n].mod_start, bmods[n].mod_end);
+
+ /* Free usable memory. */
+ /* XXX biosmem_free_usable(); */
}
static void