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>
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
*** 20,36 ****
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _IA32_SYS_KDI_REGS_H
#define _IA32_SYS_KDI_REGS_H
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef __cplusplus
extern "C" {
#endif
#define KDIREG_NGREG 21
--- 20,36 ----
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright 2018 Joyent, Inc.
*/
#ifndef _IA32_SYS_KDI_REGS_H
#define _IA32_SYS_KDI_REGS_H
#ifdef __cplusplus
extern "C" {
#endif
#define KDIREG_NGREG 21
*** 64,87 ****
#define KDIREG_PC KDIREG_EIP
#define KDIREG_SP KDIREG_ESP
#define KDIREG_FP KDIREG_EBP
- #ifdef _ASM
-
- /* Patch point for MSR clearing. */
- #define KDI_MSR_PATCH \
- 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 13 /* bytes in KDI_MSR_PATCH, above */
-
#ifdef __cplusplus
}
#endif
#endif /* _IA32_SYS_KDI_REGS_H */
--- 64,73 ----