Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/cloudabi64/cloudabi64_util.h
Show All 36 Lines | |||||
struct image_params; | struct image_params; | ||||
struct thread; | struct thread; | ||||
extern Elf64_Brandinfo cloudabi64_brand; | extern Elf64_Brandinfo cloudabi64_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. */ | ||||
register_t *cloudabi64_copyout_strings(struct image_params *); | int cloudabi64_copyout_strings(struct image_params *, register_t **); | ||||
int cloudabi64_fixup(register_t **, struct image_params *); | int cloudabi64_fixup(register_t **, struct image_params *); | ||||
int cloudabi64_thread_setregs(struct thread *, | int cloudabi64_thread_setregs(struct thread *, | ||||
const cloudabi64_threadattr_t *, uint64_t); | const cloudabi64_threadattr_t *, uint64_t); | ||||
#endif | #endif |