|
@@ -21,6 +21,7 @@
|
|
|
#include "hw/misc/pvpanic.h"
|
|
|
#include "qom/object.h"
|
|
|
#include "hw/isa/isa.h"
|
|
|
+#include "standard-headers/linux/pvpanic.h"
|
|
|
|
|
|
OBJECT_DECLARE_SIMPLE_TYPE(PVPanicISAState, PVPANIC_ISA_DEVICE)
|
|
|
|
|
@@ -64,7 +65,8 @@ static void pvpanic_isa_realizefn(DeviceState *dev, Error **errp)
|
|
|
|
|
|
static Property pvpanic_isa_properties[] = {
|
|
|
DEFINE_PROP_UINT16(PVPANIC_IOPORT_PROP, PVPanicISAState, ioport, 0x505),
|
|
|
- DEFINE_PROP_UINT8("events", PVPanicISAState, pvpanic.events, PVPANIC_PANICKED | PVPANIC_CRASHLOADED),
|
|
|
+ DEFINE_PROP_UINT8("events", PVPanicISAState, pvpanic.events,
|
|
|
+ PVPANIC_PANICKED | PVPANIC_CRASH_LOADED),
|
|
|
DEFINE_PROP_END_OF_LIST(),
|
|
|
};
|
|
|
|