From: Jorrit Herder Date: Fri, 17 Jun 2005 09:13:32 +0000 (+0000) Subject: Removed mem chunks dump. (No longer available from kernel.) X-Git-Tag: v3.1.0~753 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.html?a=commitdiff_plain;h=37a1e3f8e359b365d43eda007efdd564e80d371e;p=minix.git Removed mem chunks dump. (No longer available from kernel.) --- diff --git a/servers/is/dmp.c b/servers/is/dmp.c index 42026c333..69052d4bd 100644 --- a/servers/is/dmp.c +++ b/servers/is/dmp.c @@ -24,10 +24,9 @@ PUBLIC int do_fkey_pressed(message *m) case F5: monparams_dmp(); break; case F6: irqtab_dmp(); break; case F7: kmessages_dmp(); break; - case F8: timing_dmp(); break; case F10: kenv_dmp(); break; - case F11: memchunks_dmp(); break; + case F11: timing_dmp(); break; case F12: sched_dmp(); break; default: printf("IS: unhandled notify for F%d (code %d)\n", diff --git a/servers/is/dmp_kernel.c b/servers/is/dmp_kernel.c index 3b264a4a9..33bb1d2c0 100644 --- a/servers/is/dmp_kernel.c +++ b/servers/is/dmp_kernel.c @@ -288,34 +288,16 @@ PUBLIC void kenv_dmp() printf("- kmem_size: %5u\n", kinfo.kmem_size); printf("- bootdev_base: %5u\n", kinfo.bootdev_base); printf("- bootdev_size: %5u\n", kinfo.bootdev_size); + printf("- bootdev_mem: %5u\n", kinfo.bootdev_mem); printf("- params_base: %5u\n", kinfo.params_base); printf("- params_size: %5u\n", kinfo.params_size); printf("- nr_procs: %3u\n", kinfo.nr_procs); printf("- nr_tasks: %3u\n", kinfo.nr_tasks); + printf("- release: %.6s\n", kinfo.release); printf("- version: %.6s\n", kinfo.version); printf("\n"); } -/*===========================================================================* - * memchunks_dmp * - *===========================================================================*/ -PUBLIC void memchunks_dmp() -{ - int i,r; - struct memory mem[NR_MEMS]; - if ((r = sys_getmemchunks(mem)) != OK) { - report("IS","warning: couldn't get copy of mem chunks", r); - return; - } - - printf("Memory chunks:\n"); - for (i=0; i