]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/misc/debugexit.c
Move QOM typedefs and add missing includes
[thirdparty/qemu.git] / hw / misc / debugexit.c
index 99a814f10c38d4bcbac0153481a1192b69d40a36..6c1f9adc380b3ddc8a87042a37b9d0bd575b10f6 100644 (file)
 #include "hw/isa/isa.h"
 #include "hw/qdev-properties.h"
 #include "qemu/module.h"
+#include "qom/object.h"
 
 #define TYPE_ISA_DEBUG_EXIT_DEVICE "isa-debug-exit"
+typedef struct ISADebugExitState ISADebugExitState;
 #define ISA_DEBUG_EXIT_DEVICE(obj) \
      OBJECT_CHECK(ISADebugExitState, (obj), TYPE_ISA_DEBUG_EXIT_DEVICE)
 
-typedef struct ISADebugExitState {
+struct ISADebugExitState {
     ISADevice parent_obj;
 
     uint32_t iobase;
     uint32_t iosize;
     MemoryRegion io;
-} ISADebugExitState;
+};
 
 static uint64_t debug_exit_read(void *opaque, hwaddr addr, unsigned size)
 {