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

Comparing BasiliskII/src/BeOS/sysdeps.h (file contents):
Revision 1.9 by cebix, 2000-07-22T16:00:35Z vs.
Revision 1.13 by cebix, 2001-07-03T15:59:46Z

# Line 1 | Line 1
1   /*
2   *  sysdeps.h - System dependent definitions for BeOS
3   *
4 < *  Basilisk II (C) 1997-2000 Christian Bauer
4 > *  Basilisk II (C) 1997-2001 Christian Bauer
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 21 | Line 21
21   #ifndef SYSDEPS_H
22   #define SYSDEPS_H
23  
24 + #ifdef __POWERPC__
25 + #define NO_STD_NAMESPACE
26 + #endif
27 +
28   #include <assert.h>
29   #include <support/SupportDefs.h>
30   #include <support/ByteOrder.h>
# Line 69 | Line 73 | typedef off_t loff_t;
73   typedef uae_u32 uaecptr;
74   #define VAL64(a) (a ## LL)
75   #define UVAL64(a) (a ## uLL)
76 + typedef uint32 uintptr;
77 + typedef int32 intptr;
78  
79   // UAE CPU defines
80   #ifdef __i386__
# Line 91 | Line 97 | static inline void do_put_mem_word(uae_u
97   #endif
98  
99   #define X86_ASSEMBLY
100 + #define UNALIGNED_PROFITABLE
101 + #define OPTIMIZED_FLAGS
102   #define ASM_SYM_FOR_FUNC(a) __asm__(a)
103   #define REGPARAM __attribute__((regparm(3)))
104  
# Line 103 | Line 111 | static inline void do_put_mem_long(uae_u
111   static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {*a = v;}
112  
113   #undef X86_ASSEMBLY
114 + #define UNALIGNED_PROFITABLE
115 + #undef OPTIMIZED_FLAGS
116   #define ASM_SYM_FOR_FUNC(a)
117   #define REGPARAM
118   #endif
# Line 114 | Line 124 | static inline void do_put_mem_word(uae_u
124   #define call_mem_put_func(func, addr, v) ((*func)(addr, v))
125   #define __inline__ inline
126   #define CPU_EMU_SIZE 0
117 #undef USE_MAPPED_MEMORY
118 #undef CAN_MAP_MEMORY
127   #undef NO_INLINE_MEMORY_ACCESS
128   #undef MD_HAVE_MEM_1_FUNCS
129   #undef USE_COMPILER

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines