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.10 by gbeauche, 2003-10-11T09:57:49Z

# 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_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
# Line 282 | Line 287 | static inline int testandset(int *p)
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   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines