Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm/cloudabi32/cloudabi32_sysvec.c
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | |||||
#include <compat/cloudabi32/cloudabi32_syscall.h> | #include <compat/cloudabi32/cloudabi32_syscall.h> | ||||
#include <compat/cloudabi32/cloudabi32_util.h> | #include <compat/cloudabi32/cloudabi32_util.h> | ||||
extern const char *cloudabi32_syscallnames[]; | extern const char *cloudabi32_syscallnames[]; | ||||
extern struct sysent cloudabi32_sysent[]; | extern struct sysent cloudabi32_sysent[]; | ||||
static void | static void | ||||
cloudabi32_proc_setregs(struct thread *td, struct image_params *imgp, | cloudabi32_proc_setregs(struct thread *td, struct image_params *imgp, | ||||
unsigned long stack) | uintptr_t stack) | ||||
{ | { | ||||
struct trapframe *regs; | struct trapframe *regs; | ||||
exec_setregs(td, imgp, stack); | exec_setregs(td, imgp, stack); | ||||
/* | /* | ||||
* The stack now contains a pointer to the TCB and the auxiliary | * The stack now contains a pointer to the TCB and the auxiliary | ||||
* vector. Let r0 point to the auxiliary vector, and set | * vector. Let r0 point to the auxiliary vector, and set | ||||
▲ Show 20 Lines • Show All 136 Lines • Show Last 20 Lines |