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> |
55 |
|
// Time data type for Time Manager emulation |
56 |
|
typedef bigtime_t tm_time_t; |
57 |
|
|
54 |
– |
// Offset Mac->BeOS time in seconds |
55 |
– |
#define TIME_OFFSET 0x7c25b080 |
56 |
– |
|
58 |
|
// 64 bit file offsets |
59 |
|
typedef off_t loff_t; |
60 |
|
|
70 |
|
typedef uae_u32 uaecptr; |
71 |
|
#define VAL64(a) (a ## LL) |
72 |
|
#define UVAL64(a) (a ## uLL) |
73 |
+ |
typedef uint32 uintptr; |
74 |
+ |
typedef int32 intptr; |
75 |
|
|
76 |
|
// UAE CPU defines |
77 |
|
#ifdef __i386__ |
94 |
|
#endif |
95 |
|
|
96 |
|
#define X86_ASSEMBLY |
97 |
+ |
#define UNALIGNED_PROFITABLE |
98 |
+ |
#define OPTIMIZED_FLAGS |
99 |
|
#define ASM_SYM_FOR_FUNC(a) __asm__(a) |
100 |
|
#define REGPARAM __attribute__((regparm(3))) |
101 |
|
|
108 |
|
static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {*a = v;} |
109 |
|
|
110 |
|
#undef X86_ASSEMBLY |
111 |
+ |
#define UNALIGNED_PROFITABLE |
112 |
+ |
#undef OPTIMIZED_FLAGS |
113 |
|
#define ASM_SYM_FOR_FUNC(a) |
114 |
|
#define REGPARAM |
115 |
|
#endif |
121 |
|
#define call_mem_put_func(func, addr, v) ((*func)(addr, v)) |
122 |
|
#define __inline__ inline |
123 |
|
#define CPU_EMU_SIZE 0 |
117 |
– |
#undef USE_MAPPED_MEMORY |
118 |
– |
#undef CAN_MAP_MEMORY |
124 |
|
#undef NO_INLINE_MEMORY_ACCESS |
125 |
|
#undef MD_HAVE_MEM_1_FUNCS |
126 |
|
#undef USE_COMPILER |