diff options
| author | Pierrick Bouvier <pierrick.bouvier@linaro.org> | 2025-03-07 13:56:20 -0800 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-11 20:03:27 +0100 |
| commit | 003d35ad6c612d13ebf0a78f828b0c3ee4f44e3d (patch) | |
| tree | eb3b0d63b4b838767b47b61310ee5e7bdda4d2d8 | |
| parent | f410d702e4b4925e178cf1effa314e01323c488b (diff) | |
| download | focaccia-qemu-003d35ad6c612d13ebf0a78f828b0c3ee4f44e3d.tar.gz focaccia-qemu-003d35ad6c612d13ebf0a78f828b0c3ee4f44e3d.zip | |
hw/hyperv/hyperv-proto: Move SYNDBG definitions from target/i386
Allows SYNDBG definitions to be available for common compilation units. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-ID: <20250307215623.524987-5-pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
| -rw-r--r-- | include/hw/hyperv/hyperv-proto.h | 12 | ||||
| -rw-r--r-- | target/i386/kvm/hyperv-proto.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/include/hw/hyperv/hyperv-proto.h b/include/hw/hyperv/hyperv-proto.h index 4a2297307b..fffc5ce342 100644 --- a/include/hw/hyperv/hyperv-proto.h +++ b/include/hw/hyperv/hyperv-proto.h @@ -62,6 +62,18 @@ #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 */ #define HV_MESSAGE_FLAG_PENDING 0x1 diff --git a/target/i386/kvm/hyperv-proto.h b/target/i386/kvm/hyperv-proto.h index 464fbf09e3..a9f056f2f3 100644 --- a/target/i386/kvm/hyperv-proto.h +++ b/target/i386/kvm/hyperv-proto.h @@ -152,18 +152,6 @@ #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 */ #define HV_X64_MSR_CRASH_P0 0x40000100 |