summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-09-05 03:04:12 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-09-05 03:04:12 +0200
commitc91469dfa41f697f52471f5889d528fd3f8a4f4c (patch)
tree47695be70538720c0ed12de2b15ca0d91939293e
parent1b810de65b7ebdfc0d554bf7da0ee87250b2dc52 (diff)
Drop module memory free verbosity
* kern/bootstrap.c (bootstrap_create): Do not show freed module memory.
-rw-r--r--kern/bootstrap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kern/bootstrap.c b/kern/bootstrap.c
index 7819553..2c63df4 100644
--- a/kern/bootstrap.c
+++ b/kern/bootstrap.c
@@ -266,10 +266,8 @@ void bootstrap_create()
}
/* XXX we could free the memory used
by the boot loader's descriptors and such. */
- for (n = 0; n < boot_info.mods_count; n++) {
- printf("freeing %dMiB\n", (bmods[n].mod_end - bmods[n].mod_start) >> 20);
+ for (n = 0; n < boot_info.mods_count; n++)
vm_page_create(bmods[n].mod_start, bmods[n].mod_end);
- }
}
static void