@@ -1,5 +1,6 @@
#include "kvm/rtc.h"
+#include "kvm/fdt.h"
#include "kvm/ioport.h"
#include "kvm/kvm.h"
@@ -25,6 +25,8 @@ enum irq_type {
IRQ_TYPE_LEVEL_MASK = (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH),
};
+typedef void (*fdt_irq_fn)(void *fdt, u8 irq, enum irq_type irq_type);
+
extern char *fdt_stdout_path;
/* Helper for the various bits of code that generate FDT nodes */
@@ -44,7 +44,6 @@
struct kvm_cpu;
typedef void (*mmio_handler_fn)(struct kvm_cpu *vcpu, u64 addr, u8 *data,
u32 len, u8 is_write, void *ptr);
-typedef void (*fdt_irq_fn)(void *fdt, u8 irq, enum irq_type irq_type);
enum {
KVM_VMSTATE_RUNNING,