ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Unix/sysdeps.h
(Generate patch)

Comparing SheepShaver/src/Unix/sysdeps.h (file contents):
Revision 1.6 by gbeauche, 2003-09-29T08:27:56Z vs.
Revision 1.13 by gbeauche, 2003-10-26T14:16:37Z

# Line 68 | Line 68
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
# Line 75 | Line 77
77   #else
78   # define ROM_IS_WRITE_PROTECTED 1
79   #endif
80 + // Configure PowerPC emulator
81 + #define PPC_CHECK_INTERRUPTS (ASYNC_IRQ ? 0 : 1)
82 + #define PPC_NO_LAZY_PC_UPDATE 1
83 + //#define PPC_NO_DECODE_CACHE 1
84 + #define PPC_FLIGHT_RECORDER 1
85   #else
86   // Mac ROM is write protected
87   #define ROM_IS_WRITE_PROTECTED 1
# Line 282 | Line 289 | static inline int testandset(int *p)
289   #define HAVE_SPINLOCKS 1
290   typedef int spinlock_t;
291  
292 < const spinlock_t SPIN_LOCK_UNLOCKED = 0;
292 > static const spinlock_t SPIN_LOCK_UNLOCKED = 0;
293  
294   static inline void spin_lock(spinlock_t *lock)
295   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines