]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/ddb/db_command.c
xnu-1699.22.81.tar.gz
[apple/xnu.git] / osfmk / ddb / db_command.c
index cf99ace6b3e291eaa4963b5bfb9d3292681e268f..7e21b12b45641f5a62462e8e6b508e6939f9956a 100644 (file)
@@ -64,9 +64,6 @@
  * Command dispatcher.
  */
 #include <norma_vm.h>
  * Command dispatcher.
  */
 #include <norma_vm.h>
-#ifdef AT386
-#include <norma_scsi.h>
-#endif /* AT386 */
 
 #include <mach/boolean.h>
 #include <string.h>
 
 #include <mach/boolean.h>
 #include <string.h>
@@ -86,9 +83,6 @@
 #include <ddb/db_cond.h>
 #include <ddb/db_examine.h>
 #include <ddb/db_expr.h>
 #include <ddb/db_cond.h>
 #include <ddb/db_examine.h>
 #include <ddb/db_expr.h>
-#if defined(__ppc__)
-#include <ppc/db_low_trace.h>
-#endif
 #include <ddb/db_macro.h>
 #include <ddb/db_print.h>
 #include <ddb/db_run.h>
 #include <ddb/db_macro.h>
 #include <ddb/db_print.h>
 #include <ddb/db_run.h>
@@ -96,7 +90,6 @@
 #include <ddb/db_variables.h>
 #include <ddb/db_watch.h>
 #include <ddb/db_write_cmd.h>
 #include <ddb/db_variables.h>
 #include <ddb/db_watch.h>
 #include <ddb/db_write_cmd.h>
-#include <ddb/tr.h>
 
 #include <machine/setjmp.h>
 #include <kern/thread.h>
 
 #include <machine/setjmp.h>
 #include <kern/thread.h>
@@ -542,12 +535,6 @@ struct db_command db_show_cmds[] = {
                .fcn = (db_func)xmm_reply_print,
        },
 #endif /* NORMA_VM */
                .fcn = (db_func)xmm_reply_print,
        },
 #endif /* NORMA_VM */
-#if TRACE_BUFFER
-       {
-               .name = "tr",
-               .fcn = db_show_tr,
-       },
-#endif /* TRACE_BUFFER */
        {
                .name = "space",
                .fcn = db_show_one_space,
        {
                .name = "space",
                .fcn = db_show_one_space,
@@ -564,10 +551,6 @@ struct db_command db_show_cmds[] = {
                .name = "lock",
                .fcn = (db_func)db_show_one_lock,
        },
                .name = "lock",
                .fcn = (db_func)db_show_one_lock,
        },
-       {
-               .name = "mutex_lock",
-               .fcn = (db_func)db_show_one_mutex,
-       },
        {
                .name = "simple_lock",
                .fcn = (db_func)db_show_one_simple_lock,
        {
                .name = "simple_lock",
                .fcn = (db_func)db_show_one_simple_lock,
@@ -752,7 +735,6 @@ struct db_command db_command_table[] = {
                .name = "reboot",
                (db_func)db_reboot,
        },
                .name = "reboot",
                (db_func)db_reboot,
        },
-#if !defined(__ppc__)  
        {
                .name = "ms",
                .fcn = db_msr,
        {
                .name = "ms",
                .fcn = db_msr,
@@ -768,69 +750,6 @@ struct db_command db_command_table[] = {
                .fcn = db_apic,
                .flag = CS_MORE,
        },
                .fcn = db_apic,
                .flag = CS_MORE,
        },
-#endif /* !__ppc__ */
-#if defined(__ppc__)   
-       {
-               .name = "lt",
-               .fcn = db_low_trace,
-               .flag = CS_MORE|CS_SET_DOT,
-       },
-       {
-               .name = "dl",
-               .fcn = db_display_long,
-               .flag = CS_MORE|CS_SET_DOT,
-       },
-       {
-               .name = "dc",
-               .fcn = db_display_char,
-               .flag = CS_MORE|CS_SET_DOT,
-       },
-       {
-               .name = "dv",
-               .fcn = db_display_virtual,
-               .flag = CS_MORE|CS_SET_DOT,
-       },
-       {
-               .name = "dm",
-               .fcn = db_display_mappings,
-               .flag = CS_MORE|CS_SET_DOT,
-       },
-       {
-               .name = "dh",
-               .fcn = db_display_hash,
-               .flag = CS_MORE|CS_SET_DOT,
-       },
-       {
-               .name = "dp",
-               .fcn = db_display_pmap,
-               .flag = CS_MORE,
-       },
-       {
-               .name = "ds",
-               .fcn = db_display_save,
-               .flag = CS_MORE|CS_SET_DOT,
-       },
-       {
-               .name = "dx",
-               .fcn = db_display_xregs,
-               .flag = CS_MORE|CS_SET_DOT,
-       },
-       {
-               .name = "gs",
-               .fcn = db_gsnoop,
-               .flag = CS_MORE,
-       },
-       {
-               .name = "cm",
-               .fcn = db_check_mappings,
-               .flag = CS_MORE,
-       },
-       {
-               .name = "cp",
-               .fcn = db_check_pmaps,
-               .flag = CS_MORE,
-       },
-#endif /* __ppc__ */
        {
                .name = (const char *)NULL,
        },
        {
                .name = (const char *)NULL,
        },