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

Comparing SheepShaver/src/BeOS/sysdeps.h (file contents):
Revision 1.2 by cebix, 2003-10-26T00:32:27Z vs.
Revision 1.9 by gbeauche, 2008-01-01T09:47:38Z

# Line 1 | Line 1
1   /*
2   *  sysdeps.h - System dependent definitions for BeOS
3   *
4 < *  SheepShaver (C) 1997-2002 Christian Bauer and Marc Hellwig
4 > *  SheepShaver (C) 1997-2008 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
# Line 35 | Line 35
35   // Are we using a PPC emulator or the real thing?
36   #ifdef __POWERPC__
37   #define EMULATED_PPC 0
38 + #define WORDS_BIGENDIAN 1
39 + #define SYSTEM_CLOBBERS_R2 1
40   #else
41   #define EMULATED_PPC 1
42 + #undef  WORDS_BIGENDIAN
43   #endif
44  
45 + // High precision timing
46 + #define PRECISE_TIMING 1
47 + #define PRECISE_TIMING_BEOS 1
48 +
49   #define POWERPC_ROM 1
50  
51   // Time data type for Time Manager emulation
# Line 51 | Line 58 | typedef off_t loff_t;
58   typedef uint32 uintptr;
59   typedef int32 intptr;
60  
61 + // Timing functions
62 + extern void Delay_usec(uint32 usec);
63 +
64   // Macro for calling MacOS routines
65   #define CallMacOS(type, proc) (*(type)proc)()
66   #define CallMacOS1(type, proc, arg1) (*(type)proc)(arg1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines