Changeset View
Changeset View
Standalone View
Standalone View
head/sys/compat/cloudabi32/cloudabi32_util.h
Show All 36 Lines | |||||
struct image_params; | struct image_params; | ||||
struct thread; | struct thread; | ||||
extern Elf32_Brandinfo cloudabi32_brand; | extern Elf32_Brandinfo cloudabi32_brand; | ||||
#define TO_PTR(x) ((void *)(uintptr_t)(x)) | #define TO_PTR(x) ((void *)(uintptr_t)(x)) | ||||
/* Stack initialization during process execution. */ | /* Stack initialization during process execution. */ | ||||
int cloudabi32_copyout_strings(struct image_params *, register_t **); | int cloudabi32_copyout_strings(struct image_params *, uintptr_t *); | ||||
int cloudabi32_fixup(register_t **, struct image_params *); | int cloudabi32_fixup(uintptr_t *, struct image_params *); | ||||
int cloudabi32_thread_setregs(struct thread *, | int cloudabi32_thread_setregs(struct thread *, | ||||
const cloudabi32_threadattr_t *, uint32_t); | const cloudabi32_threadattr_t *, uint32_t); | ||||
#endif | #endif |