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-09-14 14:48:10 +0200
commitcffbf7da5b877fb86feb080f1a1022a5d134f63e (patch)
tree75c6eff2ed416c768d73ee573bb58075ade80b27 /kern/bootstrap.c
parent4b7cc639b7804143c890af424e3dc7cceef59d38 (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