Print this page
9210 remove KMDB branch debugging support
9211 ::crregs could do with cr2/cr3 support
9209 ::ttrace should be able to filter by thread
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>

@@ -19,17 +19,17 @@
  * CDDL HEADER END
  */
 /*
  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright 2018 Joyent, Inc.
  */
 
 #ifndef _SYS_KDI_MACHIMPL_H
 #define _SYS_KDI_MACHIMPL_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 /*
  * The Kernel/Debugger interface.  The operations provided by the kdi_t,
  * defined below, comprise the Debugger -> Kernel portion of the interface,
  * and are to be used only when the system has been stopped.
  */

@@ -57,11 +57,10 @@
         void (*mkdi_deactivate)(void);
 
         void (*mkdi_idt_switch)(kdi_cpusave_t *);
 
         void (*mkdi_update_drreg)(kdi_drreg_t *);
-        void (*mkdi_set_debug_msrs)(kdi_msr_t *);
 
         uintptr_t (*mkdi_get_userlimit)(void);
 
         int (*mkdi_get_cpuinfo)(uint_t *, uint_t *, uint_t *);
 

@@ -78,11 +77,10 @@
 
 #define mkdi_activate                   kdi_mach.mkdi_activate
 #define mkdi_deactivate                 kdi_mach.mkdi_deactivate
 #define mkdi_idt_switch                 kdi_mach.mkdi_idt_switch
 #define mkdi_update_drreg               kdi_mach.mkdi_update_drreg
-#define mkdi_set_debug_msrs             kdi_mach.mkdi_set_debug_msrs
 #define mkdi_get_userlimit              kdi_mach.mkdi_get_userlimit
 #define mkdi_get_cpuinfo                kdi_mach.mkdi_get_cpuinfo
 #define mkdi_stop_slaves                kdi_mach.mkdi_stop_slaves
 #define mkdi_start_slaves               kdi_mach.mkdi_start_slaves
 #define mkdi_slave_wait                 kdi_mach.mkdi_slave_wait

@@ -96,11 +94,10 @@
 extern void kdi_setdr0(ulong_t), kdi_setdr1(ulong_t), kdi_setdr2(ulong_t);
 extern void kdi_setdr3(ulong_t), kdi_setdr6(ulong_t), kdi_setdr7(ulong_t);
 extern ulong_t kdi_dreg_get(int);
 extern void kdi_dreg_set(int, ulong_t);
 extern void kdi_update_drreg(kdi_drreg_t *);
-extern void kdi_set_debug_msrs(kdi_msr_t *);
 extern void kdi_cpu_debug_init(kdi_cpusave_t *);
 
 extern void kdi_cpu_init(void);
 extern void kdi_xc_others(int, void (*)(void));
 extern void kdi_start_slaves(void);