summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-03-20 11:31:36 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:36 +0200
commitec9defc2912e86a7e682ec6e37aac102fa69d94d (patch)
treed8ef07ee8146566139505f5236b3fb0eb273ab2f /ddb
parentb80e893edaa066af2a0c5c725c0c394e7c7c20e0 (diff)
2006-03-20 Thomas Schwinge <tschwinge@gnu.org>
* DEVELOPMENT: Document the NORMA removal. 2006-03-20 Leonardo Lopes Pereira <leonardolopespereira@gmail.com> 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 <norma_device.h> anymore and adopt all users of NORMA_DEVICE as if it were always defined to `0'. * device/net_io.c: Likewise for <norma_ether.h>, NORMA_ETHER. * kern/machine.c: Likewise. * ddb/db_command.c: Likevise for <norma_ipc.h>, 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.h>, NORMA_TASK. * kern/task.c: Likewise. * kern/task.h: Likewise. * ddb/db_command.c: Likewise for <norma_vm.h>, 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.
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_command.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/ddb/db_command.c b/ddb/db_command.c
index e29e5ff0..6a42bc4a 100644
--- a/ddb/db_command.c
+++ b/ddb/db_command.c
@@ -35,8 +35,6 @@
* Command dispatcher.
*/
#include <cpus.h>
-#include <norma_ipc.h>
-#include <norma_vm.h>
#include <mach/boolean.h>
#include <kern/strings.h>
@@ -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