1 #include <strings.h> /* warnings in os-common */
4 #include <sys/newsig.h> /* recognize signal_t */
5 #include "target-arch-os.h"
6 #include "target-arch.h"
8 typedef caddr_t os_vm_address_t;
9 typedef size_t os_vm_size_t;
10 typedef off_t os_vm_offset_t;
11 typedef int os_vm_prot_t;
13 #define OS_VM_PROT_READ PROT_READ
14 #define OS_VM_PROT_WRITE PROT_WRITE
15 #define OS_VM_PROT_EXECUTE PROT_EXEC
17 #define SIG_MEMORY_FAULT SIGSEGV