#include /* Non-public functions and information */ extern u_int64_t emm64_syscall(int func, void *arg); /* * These use 64 bit kernel types that correspond to what * the userland part does. */ struct mmap64_args { u_int64_t addr; /* 0 */ u_int64_t len; /* 8 */ off_t pos; /* 16 */ int prot; /* 24 */ int flags; /* 28 */ int fd; /* 32 */ }; struct msync64_args { u_int64_t addr; /* 0 */ u_int64_t len; /* 8 */ int flags; /* 16 */ }; struct munmap64_args { u_int64_t addr; /* 0 */ u_int64_t len; /* 8 */ }; #define EMM64_GETSEGS 0 #define EMM64_MMAP 1 #define EMM64_MUNMAP 2 #define EMM64_MSYNC 3