#include <kern/hvg_hypercall.h>

kern/hvg_hypercall.h Kernel.framework

Architecture-independent definitions (exported to userland)
includes: os/base.h, Kernel/stdint.h, Kernel/stdbool.h, uuid/uuid.h
6 typedefs · 3 structs · 3 enums

structhvg_hcall_args

Apple Hypercall arguments
size 48, align 8
uint64_t[6]args

typedefhvg_hcall_args_t

typedef struct hvg_hcall_args hvg_hcall_args_t;

structhvg_hcall_output

Apple Hypercall return output
size 56, align 8
uint64_t[7]regs

typedefhvg_hcall_output_t

typedef struct hvg_hcall_output hvg_hcall_output_t;

enumhvg_hcall_return_t

underlying type uint32_t
HVG_HCALL_SUCCESS0
HVG_HCALL_ACCESS_DENIED1
HVG_HCALL_INVALID_CODE2
HVG_HCALL_INVALID_PARAMETER3
HVG_HCALL_IO_FAILED4
HVG_HCALL_FEAT_DISABLED5
HVG_HCALL_UNSUPPORTED6

typedefhvg_hcall_return_t

typedef enum hvg_hcall_return_t hvg_hcall_return_t;

enumhvg_hcall_code_t

underlying type uint32_t
HVG_HCALL_TRIGGER_DUMP1
HVG_HCALL_SET_COREDUMP_DATA2
HVG_HCALL_GET_MABS_OFFSET3
HVG_HCALL_GET_BOOTSESSIONUUID4
HVG_HCALL_VCPU_WFK5
HVG_HCALL_VCPU_KICK6
HVG_HCALL_COUNT7

typedefhvg_hcall_code_t

typedef enum hvg_hcall_code_t hvg_hcall_code_t;

enumhvg_hcall_dump_option_t

underlying type uint32_t
HVG_HCALL_DUMP_OPTION_REGULAR1

typedefhvg_hcall_dump_option_t

typedef enum hvg_hcall_dump_option_t hvg_hcall_dump_option_t;

structhvg_hcall_vmcore_file

size 57, align 1
char[57]tag7 64-bit registers plus 1 byte for '\0'

typedefhvg_hcall_vmcore_file_t

typedef struct hvg_hcall_vmcore_file hvg_hcall_vmcore_file_t;