From ec9defc2912e86a7e682ec6e37aac102fa69d94d Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 20 Mar 2006 11:31:36 +0000 Subject: 2006-03-20 Thomas Schwinge * DEVELOPMENT: Document the NORMA removal. 2006-03-20 Leonardo Lopes Pereira Remove unused and unsupported code. Consult the file `DEVELOPMENT' for details. [patch #4982] * bogus/norma_device.h: Remove file. * bogus/norma_ether.h: Likewise. * bogus/norma_ipc.h: Likewise. * bogus/norma_task.h: Likewise. * bogus/norma_vm.h: Likewise. * include/mach/mach_norma.defs: Likewise. * include/mach/norma_task.defs: Likewise. * include/mach/norma_special_ports.h: Likewise. * Makefile.in (bogus-files): Remove `norma_device.h', `norma_ether.h', `norma_ipc.h', `norma_task.h' and `norma_vm.h'. (mach-headers): Remove `mach_norma.defs', `norma_task.defs' and `norma_special_ports.h'. * device/ds_routines.c: Don't include anymore and adopt all users of NORMA_DEVICE as if it were always defined to `0'. * device/net_io.c: Likewise for , NORMA_ETHER. * kern/machine.c: Likewise. * ddb/db_command.c: Likevise for , NORMA_IPC. * ipc/ipc_init.c: Likewise. * ipc/ipc_kmsg.c: Likewise. * ipc/ipc_kmsg.h: Likewise. * ipc/ipc_mqueue.c: Likewise. * ipc/ipc_notify.c: Likewise. * ipc/ipc_port.c: Likewise. * ipc/ipc_port.h: Likewise. * ipc/ipc_space.c: Likewise. * ipc/ipc_space.h: Likewise. * ipc/mach_msg.c: Likewise. * kern/ast.c: Likewise. * kern/debug.c: Likewise. * kern/exception.c: Likewise. * kern/startup.c: Likewise. * vm/memory_object.c: Likewise. * vm/vm_map.c: Likewise. * kern/ipc_kobject.c: Likewise for , NORMA_TASK. * kern/task.c: Likewise. * kern/task.h: Likewise. * ddb/db_command.c: Likewise for , NORMA_VM. * device/dev_pager.c: Likewise. * include/mach/mach_types.defs: Likewise. * include/mach/mach_types.h: Likewise. * include/mach/memory_object_default.defs: Likewise. * include/mach/memory_object.defs: Likewise. * ipc/ipc_kmsg.c: Likewise. * kern/ipc_kobject.c: Likewise. * kern/ipc_mig.c: Likewise. * kern/startup.c: Likewise. * vm/memory_object.c: Likewise. * vm/vm_object.c: Likewise. * vm/vm_object.h: Likewise. * vm/vm_pageout.c: Likewise. --- ddb/db_command.c | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'ddb') diff --git a/ddb/db_command.c b/ddb/db_command.c index e29e5ff..6a42bc4 100644 --- a/ddb/db_command.c +++ b/ddb/db_command.c @@ -35,8 +35,6 @@ * Command dispatcher. */ #include -#include -#include #include #include @@ -310,24 +308,10 @@ extern void ipc_port_print(), ipc_pset_print(), db_show_all_slocks(); extern void ipc_kmsg_print(), ipc_msg_print(); extern void db_show_port_id(); void db_show_help(); -#if NORMA_IPC -extern void netipc_packet_print(), netipc_pcs_print(), db_show_all_uids(); -extern void db_show_all_proxies(), db_show_all_principals(); -extern void db_show_all_uids_verbose(); -#endif /* NORMA_IPC */ -#if NORMA_VM -extern void xmm_obj_print(), xmm_reply_print(); -#endif /* NORMA_VM */ struct db_command db_show_all_cmds[] = { { "threads", db_show_all_threads, 0, 0 }, { "slocks", db_show_all_slocks, 0, 0 }, -#if NORMA_IPC - { "uids", db_show_all_uids, 0, 0 }, - { "proxies", db_show_all_proxies, 0, 0 }, - { "principals", db_show_all_principals, 0, 0 }, - { "vuids", db_show_all_uids_verbose, 0, 0 }, -#endif /* NORMA_IPC */ { (char *)0 } }; @@ -348,14 +332,6 @@ struct db_command db_show_cmds[] = { { "kmsg", ipc_kmsg_print, 0, 0 }, { "msg", ipc_msg_print, 0, 0 }, { "ipc_port", db_show_port_id, 0, 0 }, -#if NORMA_IPC - { "packet", netipc_packet_print, 0, 0 }, - { "pcs", netipc_pcs_print, 0, 0 }, -#endif /* NORMA_IPC */ -#if NORMA_VM - { "xmm_obj", xmm_obj_print, 0, 0 }, - { "xmm_reply", xmm_reply_print, 0, 0 }, -#endif /* NORMA_VM */ { (char *)0, } }; @@ -447,9 +423,6 @@ db_command_loop() jmp_buf_t *prev = db_recover; extern int db_output_line; extern int db_macro_level; -#if NORMA_IPC - extern int _node_self; /* node_self() may not be callable yet */ -#endif /* NORMA_IPC */ /* * Initialize 'prev' and 'next' to dot. @@ -468,9 +441,6 @@ db_command_loop() db_printf("\n"); db_output_line = 0; db_printf("db%s", (db_default_thread)? "t": ""); -#if NORMA_IPC - db_printf("%d", _node_self); -#endif #if NCPUS > 1 db_printf("{%d}", cpu_number()); #endif -- cgit v1.2.3