From 52ff4b209b73ffe77fde44c075dcc35a86ae639c Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Sun, 30 Apr 2006 21:13:21 +0000 Subject: [PATCH] Implement dummy idle suspend/resume routines for AmigOS --- BasiliskII/src/AmigaOS/timer_amiga.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/BasiliskII/src/AmigaOS/timer_amiga.cpp b/BasiliskII/src/AmigaOS/timer_amiga.cpp index 3a02522b..47e4ec00 100644 --- a/BasiliskII/src/AmigaOS/timer_amiga.cpp +++ b/BasiliskII/src/AmigaOS/timer_amiga.cpp @@ -136,3 +136,22 @@ int32 timer_host2mac_time(tm_time_t hosttime) return -t; // Time in negative microseconds } } + + +/* + * Suspend emulator thread, virtual CPU in idle mode + */ + +void idle_wait(void) +{ + // XXX if you implement this make sure to call idle_resume() from TriggerInterrupt() +} + + +/* + * Resume execution of emulator thread, events just arrived + */ + +void idle_resume(void) +{ +}