mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
openpic: move KVM-specific declarations into separate openpic_kvm.h file
This is needed before the next patch because the target-dependent kvm stub uses the existing kvm_openpic_connect_vcpu() declaration, making it impossible to move the device-specific declarations into the same file without breaking ppc-linux-user compilation. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
017812df5d
commit
8d085cf03b
5 changed files with 10 additions and 4 deletions
|
|
@ -28,7 +28,4 @@ enum {
|
|||
#define OPENPIC_MAX_IRQ (OPENPIC_MAX_SRC + OPENPIC_MAX_IPI + \
|
||||
OPENPIC_MAX_TMR)
|
||||
|
||||
#define TYPE_KVM_OPENPIC "kvm-openpic"
|
||||
int kvm_openpic_connect_vcpu(DeviceState *d, CPUState *cs);
|
||||
|
||||
#endif /* OPENPIC_H */
|
||||
|
|
|
|||
7
include/hw/ppc/openpic_kvm.h
Normal file
7
include/hw/ppc/openpic_kvm.h
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef OPENPIC_KVM_H
|
||||
#define OPENPIC_KVM_H
|
||||
|
||||
#define TYPE_KVM_OPENPIC "kvm-openpic"
|
||||
int kvm_openpic_connect_vcpu(DeviceState *d, CPUState *cs);
|
||||
|
||||
#endif /* OPENPIC_KVM_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue