68 |
|
#define POWERPC_ROM 1 |
69 |
|
|
70 |
|
#if EMULATED_PPC |
71 |
+ |
// Handle interrupts asynchronously? |
72 |
+ |
#define ASYNC_IRQ 0 |
73 |
|
// Mac ROM is write protected when banked memory is used |
74 |
|
#if REAL_ADDRESSING || DIRECT_ADDRESSING |
75 |
|
# define ROM_IS_WRITE_PROTECTED 0 |
77 |
|
#else |
78 |
|
# define ROM_IS_WRITE_PROTECTED 1 |
79 |
|
#endif |
80 |
+ |
// Configure PowerPC emulator |
81 |
+ |
#define PPC_NO_LAZY_PC_UPDATE 1 |
82 |
+ |
#define PPC_FLIGHT_RECORDER 1 |
83 |
|
#else |
84 |
|
// Mac ROM is write protected |
85 |
|
#define ROM_IS_WRITE_PROTECTED 1 |
287 |
|
#define HAVE_SPINLOCKS 1 |
288 |
|
typedef int spinlock_t; |
289 |
|
|
290 |
< |
const spinlock_t SPIN_LOCK_UNLOCKED = 0; |
290 |
> |
static const spinlock_t SPIN_LOCK_UNLOCKED = 0; |
291 |
|
|
292 |
|
static inline void spin_lock(spinlock_t *lock) |
293 |
|
{ |