Contents

hv_vm_space_create(_:)

Creates an additional guest address space for the current task.

Declaration

func hv_vm_space_create(_ asid: UnsafeMutablePointer<hv_vm_space_t>) -> hv_return_t

Parameters

  • asid:

    Pointer to the addresss space ID that Hypervisor writes on success.

Return Value

HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.

Discussion

The guest address space has the maximum allowable size, with a base IPA of 0 and a 4096-byte page size.

See Also

Functions