Skip to content

Commit

Permalink
hw/hyperv/hyperv-proto: move SYNDBG definition from target/i386
Browse files Browse the repository at this point in the history
  • Loading branch information
pbo-linaro committed Mar 5, 2025
1 parent dd346f5 commit e762c33
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 12 additions & 0 deletions include/hw/hyperv/hyperv-proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,18 @@
#define HV_MESSAGE_X64_APIC_EOI 0x80010004
#define HV_MESSAGE_X64_LEGACY_FP_ERROR 0x80010005

/*
* Hyper-V Synthetic debug options MSR
*/
#define HV_X64_MSR_SYNDBG_CONTROL 0x400000F1
#define HV_X64_MSR_SYNDBG_STATUS 0x400000F2
#define HV_X64_MSR_SYNDBG_SEND_BUFFER 0x400000F3
#define HV_X64_MSR_SYNDBG_RECV_BUFFER 0x400000F4
#define HV_X64_MSR_SYNDBG_PENDING_BUFFER 0x400000F5
#define HV_X64_MSR_SYNDBG_OPTIONS 0x400000FF

#define HV_X64_SYNDBG_OPTION_USE_HCALLS BIT(2)

/*
* Message flags
*/
Expand Down
12 changes: 0 additions & 12 deletions target/i386/kvm/hyperv-proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,18 +151,6 @@
#define HV_X64_MSR_STIMER3_CONFIG 0x400000B6
#define HV_X64_MSR_STIMER3_COUNT 0x400000B7

/*
* Hyper-V Synthetic debug options MSR
*/
#define HV_X64_MSR_SYNDBG_CONTROL 0x400000F1
#define HV_X64_MSR_SYNDBG_STATUS 0x400000F2
#define HV_X64_MSR_SYNDBG_SEND_BUFFER 0x400000F3
#define HV_X64_MSR_SYNDBG_RECV_BUFFER 0x400000F4
#define HV_X64_MSR_SYNDBG_PENDING_BUFFER 0x400000F5
#define HV_X64_MSR_SYNDBG_OPTIONS 0x400000FF

#define HV_X64_SYNDBG_OPTION_USE_HCALLS BIT(2)

/*
* Guest crash notification MSRs
*/
Expand Down

0 comments on commit e762c33

Please sign in to comment.