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>

*** 20,36 **** */ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _AMD64_SYS_KDI_REGS_H #define _AMD64_SYS_KDI_REGS_H - #pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif #define KDIREG_NGREG 31 --- 20,36 ---- */ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * + * Copyright 2018 Joyent, Inc. */ #ifndef _AMD64_SYS_KDI_REGS_H #define _AMD64_SYS_KDI_REGS_H #ifdef __cplusplus extern "C" { #endif #define KDIREG_NGREG 31
*** 73,97 **** #define KDIREG_PC KDIREG_RIP #define KDIREG_SP KDIREG_RSP #define KDIREG_FP KDIREG_RBP - #ifdef _ASM - - /* Patch point for MSR clearing. */ - #define KDI_MSR_PATCH \ - nop; nop; nop; nop; \ - nop; nop; nop; nop; \ - nop; nop; nop; nop; \ - nop; nop; nop; nop; \ - nop - - #endif /* _ASM */ - - #define KDI_MSR_PATCHOFF 8 /* bytes of code before patch point */ - #define KDI_MSR_PATCHSZ 17 /* bytes in KDI_MSR_PATCH, above */ - #ifdef __cplusplus } #endif #endif /* _AMD64_SYS_KDI_REGS_H */ --- 73,82 ----