Hypervisor Changes for Swift
Hypervisor
Modified hv_uvaddr_t
Declaration | |
---|---|
From | typealias hv_uvaddr_t = UnsafePointer<Void> |
To | typealias hv_uvaddr_t = UnsafeRawPointer |
Declaration | |
---|---|
From | func hv_vcpu_create(_ vcpu: UnsafeMutablePointer<hv_vcpuid_t>, _ flags: hv_vcpu_options_t) -> hv_return_t |
To | func hv_vcpu_create(_ vcpu: UnsafeMutablePointer<hv_vcpuid_t>!, _ flags: hv_vcpu_options_t) -> hv_return_t |
Declaration | |
---|---|
From | func hv_vcpu_get_exec_time(_ vcpu: hv_vcpuid_t, _ time: UnsafeMutablePointer<UInt64>) -> hv_return_t |
To | func hv_vcpu_get_exec_time(_ vcpu: hv_vcpuid_t, _ time: UnsafeMutablePointer<UInt64>!) -> hv_return_t |
Declaration | |
---|---|
From | func hv_vcpu_interrupt(_ vcpus: UnsafeMutablePointer<hv_vcpuid_t>, _ vcpu_count: UInt32) -> hv_return_t |
To | func hv_vcpu_interrupt(_ vcpus: UnsafeMutablePointer<hv_vcpuid_t>!, _ vcpu_count: UInt32) -> hv_return_t |
Declaration | |
---|---|
From | func hv_vcpu_read_fpstate(_ vcpu: hv_vcpuid_t, _ buffer: UnsafeMutablePointer<Void>, _ size: Int) -> hv_return_t |
To | func hv_vcpu_read_fpstate(_ vcpu: hv_vcpuid_t, _ buffer: UnsafeMutableRawPointer!, _ size: Int) -> hv_return_t |
Modified hv_vcpu_read_msr(_: hv_vcpuid_t, _: UInt32, _: UnsafeMutablePointer<UInt64>!) -> hv_return_t
Declaration | |
---|---|
From | func hv_vcpu_read_msr(_ vcpu: hv_vcpuid_t, _ msr: UInt32, _ value: UnsafeMutablePointer<UInt64>) -> hv_return_t |
To | func hv_vcpu_read_msr(_ vcpu: hv_vcpuid_t, _ msr: UInt32, _ value: UnsafeMutablePointer<UInt64>!) -> hv_return_t |
Declaration | |
---|---|
From | func hv_vcpu_read_register(_ vcpu: hv_vcpuid_t, _ reg: hv_x86_reg_t, _ value: UnsafeMutablePointer<UInt64>) -> hv_return_t |
To | func hv_vcpu_read_register(_ vcpu: hv_vcpuid_t, _ reg: hv_x86_reg_t, _ value: UnsafeMutablePointer<UInt64>!) -> hv_return_t |
Declaration | |
---|---|
From | func hv_vcpu_write_fpstate(_ vcpu: hv_vcpuid_t, _ buffer: UnsafeMutablePointer<Void>, _ size: Int) -> hv_return_t |
To | func hv_vcpu_write_fpstate(_ vcpu: hv_vcpuid_t, _ buffer: UnsafeMutableRawPointer!, _ size: Int) -> hv_return_t |
Declaration | |
---|---|
From | func hv_vm_map(_ uva: hv_uvaddr_t, _ gpa: hv_gpaddr_t, _ size: Int, _ flags: hv_memory_flags_t) -> hv_return_t |
To | func hv_vm_map(_ uva: hv_uvaddr_t!, _ gpa: hv_gpaddr_t, _ size: Int, _ flags: hv_memory_flags_t) -> hv_return_t |
Modified hv_vmx_read_capability(_: hv_vmx_capability_t, _: UnsafeMutablePointer<UInt64>!) -> hv_return_t
Declaration | |
---|---|
From | func hv_vmx_read_capability(_ field: hv_vmx_capability_t, _ value: UnsafeMutablePointer<UInt64>) -> hv_return_t |
To | func hv_vmx_read_capability(_ field: hv_vmx_capability_t, _ value: UnsafeMutablePointer<UInt64>!) -> hv_return_t |
Modified hv_vmx_vcpu_read_vmcs(_: hv_vcpuid_t, _: UInt32, _: UnsafeMutablePointer<UInt64>!) -> hv_return_t
Declaration | |
---|---|
From | func hv_vmx_vcpu_read_vmcs(_ vcpu: hv_vcpuid_t, _ field: UInt32, _ value: UnsafeMutablePointer<UInt64>) -> hv_return_t |
To | func hv_vmx_vcpu_read_vmcs(_ vcpu: hv_vcpuid_t, _ field: UInt32, _ value: UnsafeMutablePointer<UInt64>!) -> hv_return_t |