1 |
|
/* |
2 |
|
* sysdeps.h - System dependent definitions for BeOS |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2001 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2008 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 |
49 |
|
// ExtFS is supported |
50 |
|
#define SUPPORTS_EXTFS 1 |
51 |
|
|
52 |
+ |
// BSD socket API is supported |
53 |
+ |
#define SUPPORTS_UDP_TUNNEL 1 |
54 |
+ |
|
55 |
|
// mon is not supported |
56 |
|
#undef ENABLE_MON |
57 |
|
|
58 |
|
// Time data type for Time Manager emulation |
59 |
|
typedef bigtime_t tm_time_t; |
60 |
|
|
58 |
– |
// Offset Mac->BeOS time in seconds |
59 |
– |
#define TIME_OFFSET 0x7c25b080 |
60 |
– |
|
61 |
|
// 64 bit file offsets |
62 |
|
typedef off_t loff_t; |
63 |
|
|
64 |
+ |
// Networking types |
65 |
+ |
#define PF_INET AF_INET |
66 |
+ |
typedef int socklen_t; |
67 |
+ |
|
68 |
|
// UAE CPU data types |
69 |
|
#define uae_s8 int8 |
70 |
|
#define uae_u8 uint8 |
80 |
|
typedef uint32 uintptr; |
81 |
|
typedef int32 intptr; |
82 |
|
|
83 |
+ |
/* Timing functions */ |
84 |
+ |
extern void Delay_usec(uint32 usec); |
85 |
+ |
|
86 |
|
// UAE CPU defines |
87 |
|
#ifdef __i386__ |
88 |
|
|
131 |
|
#define call_mem_put_func(func, addr, v) ((*func)(addr, v)) |
132 |
|
#define __inline__ inline |
133 |
|
#define CPU_EMU_SIZE 0 |
127 |
– |
#undef USE_MAPPED_MEMORY |
128 |
– |
#undef CAN_MAP_MEMORY |
134 |
|
#undef NO_INLINE_MEMORY_ACCESS |
135 |
|
#undef MD_HAVE_MEM_1_FUNCS |
136 |
|
#undef USE_COMPILER |