3 extern int errno; /* <errno.h> forgets to do this... */
10 #include <machine/machparam.h>
13 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
19 extern PTR EXFUN(malloc, (unsigned));
20 extern PTR EXFUN(realloc, (PTR, unsigned));
21 extern void EXFUN(free, (PTR));
25 #define HOST_PAGE_SIZE NBPG
26 #define HOST_SEGMENT_SIZE NBPG
27 #define HOST_MACHINE_ARCH bfd_arch_i386
28 #define HOST_TEXT_START_ADDR 0x10000 /* By inspection */
29 #define HOST_STACK_END_ADDR KERNBASE
32 typedef char int8e_type;
33 typedef unsigned char uint8e_type;
34 typedef short int16e_type;
35 typedef unsigned short uint16e_type;
36 typedef int int32e_type;
37 typedef unsigned int uint32e_type;
39 /* CORRECT SIZE OR GREATER */
40 typedef char int8_type;
41 typedef unsigned char uint8_type;
42 typedef short int16_type;
43 typedef unsigned short uint16_type;
44 typedef int int32_type;
45 typedef unsigned int uint32_type;
46 #include "fopen-same.h"