diff options
author | Yonggang Luo | 2021-01-07 11:19:19 +0100 |
---|---|---|
committer | Paolo Bonzini | 2021-01-12 12:38:03 +0100 |
commit | 9a46d044d86885e3301a5b5d62b744e8e2114a01 (patch) | |
tree | 485d6d68a8273947375b647475d78aa4d09eb3d4 /target/i386 | |
parent | maintainers: Add me as Windows Hosted Continuous Integration maintainer (diff) | |
download | qemu-9a46d044d86885e3301a5b5d62b744e8e2114a01.tar.gz qemu-9a46d044d86885e3301a5b5d62b744e8e2114a01.tar.xz qemu-9a46d044d86885e3301a5b5d62b744e8e2114a01.zip |
whpx: move whpx_lapic_state from header to c file
This struct only used in whpx-apic.c, there is no need
expose it in whpx.h.
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Message-Id: <20210107101919.80-6-luoyonggang@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386')
-rw-r--r-- | target/i386/whpx/whpx-apic.c | 7 | ||||
-rw-r--r-- | target/i386/whpx/whpx-internal.h | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/target/i386/whpx/whpx-apic.c b/target/i386/whpx/whpx-apic.c index 1d330bf749..bba36f3ec9 100644 --- a/target/i386/whpx/whpx-apic.c +++ b/target/i386/whpx/whpx-apic.c @@ -20,6 +20,13 @@ #include "sysemu/whpx.h" #include "whpx-internal.h" +struct whpx_lapic_state { + struct { + uint32_t data; + uint32_t padding[3]; + } fields[256]; +}; + static void whpx_put_apic_state(APICCommonState *s, struct whpx_lapic_state *kapic) { diff --git a/target/i386/whpx/whpx-internal.h b/target/i386/whpx/whpx-internal.h index 8cfaaef141..908ababf6d 100644 --- a/target/i386/whpx/whpx-internal.h +++ b/target/i386/whpx/whpx-internal.h @@ -13,13 +13,6 @@ struct whpx_state { bool apic_in_platform; }; -struct whpx_lapic_state { - struct { - uint32_t data; - uint32_t padding[3]; - } fields[256]; -}; - extern struct whpx_state whpx_global; void whpx_apic_get(DeviceState *s); |