summaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-06-19 07:47:42 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-06-19 07:47:42 +0000
commit92a16d7a9a904d5dd55d012b89ad798f0e4cd0bd (patch)
treec0e6c492b9ce2b4a433d745208ed71400644ca82 /target-i386
parent8546b09965392da55fc1ce797ef774cb6e298468 (diff)
downloadqemu-92a16d7a9a904d5dd55d012b89ad798f0e4cd0bd.tar.gz
apic: qdev conversion cleanup
Make APICState completely private to apic.c by using DeviceState in external APIs. Move apic_init() to pc.c. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 619a747d76..8dafa0d435 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -705,7 +705,7 @@ typedef struct CPUX86State {
/* in order to simplify APIC support, we leave this pointer to the
user */
- struct APICState *apic_state;
+ struct DeviceState *apic_state;
uint64 mcg_cap;
uint64 mcg_status;