|
Data Structures |
struct | s_pinfo |
struct | s_fdesc |
Defines |
#define | __MACHDEP_MACHDEP_H__ 1 |
#define | ntohl(x) ((in_addr_t)__byte_swap_long((in_addr_t)(x))) |
#define | ntohs(x) ((in_port_t)__byte_swap_word((in_port_t)(x))) |
#define | htonl(x) ((in_addr_t)__byte_swap_long((in_addr_t)(x))) |
#define | htons(x) ((in_port_t)__byte_swap_word((in_port_t)(x))) |
#define | QUAD_HIGH(Quad) ((int32_t) (((quad_t)(Quad)) >> 32)) |
#define | QUAD_LOW(Quad) ((int32_t) (((quad_t)(Quad)) & 0xffffffffLL)) |
#define | QUAD_MAKE(High, Low) |
#define | PROGOPT_EXECVE_BOOTFS (1<<0u) |
#define | PROGOPT_EXECVE_SHOW_ERRMSG (1<<1u) |
#define | PROGOPT_EMULATE_VFS (1<<2u) |
#define | PROGOPT_RT_MALLOC (1<<3u) |
#define | PROGOPT_SHARE_BINARIES (1<<4u) |
#define | PROGOPT_THREAD_WITH_IOMAP (1<<5u) |
#define | PINFO_VADDR (MAX_UADDR - sizeof (t_pinfo)) |
#define | CORE_SYSCALL5(RetVal, Arg0, Arg1, Arg2, Arg3, Arg4, Arg5) |
#define | EC_DECL int __errno_save, __suberrno_save |
#define | EC_SAVE __errno_save = errno;__suberrno_save = suberrno |
#define | EC_RESTORE errno = __errno_save;suberrno = __suberrno_save |
#define | TRACE_IN(Str, Tcb) |
#define | TRACE_OUT(Str, Tcb) |
#define | EMULATE_VFS() (progopts & PROGOPT_EMULATE_VFS) |
#define | RT_MALLOC() (progopts & PROGOPT_RT_MALLOC) |
#define | EXECVE_BOOTFS() (progopts & PROGOPT_EXECVE_BOOTFS) |
#define | EXECVE_SHOW_ERRMSG() (progopts & PROGOPT_EXECVE_SHOW_ERRMSG) |
#define | SHARE_BINARIES() (progopts & PROGOPT_SHARE_BINARIES) |
Typedefs |
typedef s_pinfo | t_pinfo |
typedef s_fdesc | t_fdesc |
typedef void(* | t_nmi_fn )() |
Functions |
static __inline void | nope (void) |
int | core_syscall (int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) |
int | gate_syscall (int gate, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) |
int | rtr (void) |
int | ltr (int tr) |
void * | alloca (size_t size) |
void | nmi_0 () |
void | nmi_1 () |
void | nmi_2 () |
void | nmi_3 () |
void | nmi_4 () |
void | nmi_5 () |
void | nmi_6 () |
void | nmi_7 () |
void | nmi_8 () |
void | nmi_9 () |
void | nmi_10 () |
void | nmi_11 () |
void | nmi_12 () |
void | nmi_13 () |
void | nmi_14 () |
void | nmi_15 () |
void | nmi_16 () |
void | nmi_17 () |
void | nmi_18 () |
void | nmi_19 () |
Variables |
t_nmi_fn | nmi_fns [] |
int | nb_nmi_fns |
int | fs_gate |
int | nb_fdescs |
t_fdesc * | fdescs |
char ** | environ |
int | errno |
int | suberrno |
const char *const | sys_errlist [] |
const int | sys_nerr |
u_int32_t | progopts |
u_int32_t | execve_nbstkpgs |