diff options
Diffstat (limited to 'include/system/accel-ops.h')
| -rw-r--r-- | include/system/accel-ops.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/system/accel-ops.h b/include/system/accel-ops.h index a4e706b49c..e775ecc348 100644 --- a/include/system/accel-ops.h +++ b/include/system/accel-ops.h @@ -62,6 +62,7 @@ struct AccelOpsClass { void (*synchronize_pre_loadvm)(CPUState *cpu); void (*synchronize_pre_resume)(bool step_pending); + /* handle_interrupt is mandatory. */ void (*handle_interrupt)(CPUState *cpu, int mask); /** @@ -86,4 +87,6 @@ struct AccelOpsClass { void (*remove_all_breakpoints)(CPUState *cpu); }; +void generic_handle_interrupt(CPUState *cpu, int mask); + #endif /* ACCEL_OPS_H */ |