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.14 by gbeauche, 2003-11-11T11:32:24Z

# 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_DECODE_CACHE 1
83 + #define PPC_FLIGHT_RECORDER 1
84   #else
85   // Mac ROM is write protected
86   #define ROM_IS_WRITE_PROTECTED 1
# Line 282 | Line 288 | static inline int testandset(int *p)
288   #define HAVE_SPINLOCKS 1
289   typedef int spinlock_t;
290  
291 < const spinlock_t SPIN_LOCK_UNLOCKED = 0;
291 > static const spinlock_t SPIN_LOCK_UNLOCKED = 0;
292  
293   static inline void spin_lock(spinlock_t *lock)
294   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines