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>
*** 19,32 ****
* CDDL HEADER END
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
- #pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* Intel-specific portions of the DPI
*/
#include <sys/types.h>
--- 19,32 ----
* CDDL HEADER END
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright 2018 Joyent, Inc.
*/
/*
* Intel-specific portions of the DPI
*/
#include <sys/types.h>
*** 139,162 ****
/*
* We're going to skip all of the niceties we employ in resume_common,
* as we don't plan to ever return.
*/
longjmp(kmdb_dpi_entry_pcb, KMDB_DPI_CMD_REBOOT);
- }
-
- void
- kmdb_dpi_msr_add(const kdi_msr_t *msrs)
- {
- mdb.m_dpi->dpo_msr_add(msrs);
- }
-
- uint64_t
- kmdb_dpi_msr_get(uint_t msr)
- {
- return (mdb.m_dpi->dpo_msr_get(DPI_MASTER_CPUID, msr));
- }
-
- uint64_t
- kmdb_dpi_msr_get_by_cpu(int cpuid, uint_t msr)
- {
- return (mdb.m_dpi->dpo_msr_get(cpuid, msr));
}
--- 139,144 ----