Skip to content
Snippets Groups Projects
Commit 9a46d044 authored by Yonggang Luo's avatar Yonggang Luo Committed by Paolo Bonzini
Browse files

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: default avatarYonggang Luo <luoyonggang@gmail.com>
Message-Id: <20210107101919.80-6-luoyonggang@gmail.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent daee8de3
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment