mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 19:35:29 +00:00
i386: Add support to get/set/migrate Intel Processor Trace feature
Add Intel Processor Trace related definition. It also add corresponding part to kvm_get/set_msr and vmstate. Backports commit b77146e9a129bcdb60edc23639211679ae846a92 from qemu
This commit is contained in:
parent
9b86780b9e
commit
58fb5ce47d
|
@ -394,6 +394,21 @@
|
|||
#define MSR_MC0_ADDR 0x402
|
||||
#define MSR_MC0_MISC 0x403
|
||||
|
||||
#define MSR_IA32_RTIT_OUTPUT_BASE 0x560
|
||||
#define MSR_IA32_RTIT_OUTPUT_MASK 0x561
|
||||
#define MSR_IA32_RTIT_CTL 0x570
|
||||
#define MSR_IA32_RTIT_STATUS 0x571
|
||||
#define MSR_IA32_RTIT_CR3_MATCH 0x572
|
||||
#define MSR_IA32_RTIT_ADDR0_A 0x580
|
||||
#define MSR_IA32_RTIT_ADDR0_B 0x581
|
||||
#define MSR_IA32_RTIT_ADDR1_A 0x582
|
||||
#define MSR_IA32_RTIT_ADDR1_B 0x583
|
||||
#define MSR_IA32_RTIT_ADDR2_A 0x584
|
||||
#define MSR_IA32_RTIT_ADDR2_B 0x585
|
||||
#define MSR_IA32_RTIT_ADDR3_A 0x586
|
||||
#define MSR_IA32_RTIT_ADDR3_B 0x587
|
||||
#define MAX_RTIT_ADDRS 8
|
||||
|
||||
#define MSR_EFER 0xc0000080
|
||||
|
||||
#define MSR_EFER_SCE (1 << 0)
|
||||
|
|
Loading…
Reference in a new issue