1 |
|
/* |
2 |
|
* main.h - Emulation core |
3 |
|
* |
4 |
< |
* SheepShaver (C) 1997-2002 Christian Bauer and Marc Hellwig |
4 |
> |
* SheepShaver (C) 1997-2004 Christian Bauer and Marc Hellwig |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
69 |
|
extern volatile uint32 InterruptFlags; // Currently pending interrupts |
70 |
|
extern void SetInterruptFlag(uint32); |
71 |
|
extern void ClearInterruptFlag(uint32); |
72 |
+ |
#if EMULATED_PPC |
73 |
+ |
extern void HandleInterrupt(void); // Handle SIGUSR1 interrupt in emulator thread |
74 |
+ |
#endif |
75 |
|
extern void TriggerInterrupt(void); // Trigger SIGUSR1 interrupt in emulator thread |
76 |
|
extern void DisableInterrupt(void); // Disable SIGUSR1 interrupt (can be nested) |
77 |
|
extern void EnableInterrupt(void); // Enable SIGUSR1 interrupt (can be nested) |