Turnstone Operating System
Loading...
Searching...
No Matches
hypervisor_vmcsops.h File Reference

defines hypervisor related vmcs operations More...

#include <types.h>
#include <hypervisor/hypervisor_vm.h>

Classes

struct  vmcs_msr_blob_t
 
struct  vmcs_registers_t
 
struct  vmcs_vmexit_info
 

Macros

#define ___HYPERVISOR_VMCSOPS_H   0
 

Typedefs

typedef struct vmcs_msr_blob_t vmcs_msr_blob_t
 
typedef struct vmcs_registers_t vmcs_registers_t
 
typedef struct vmcs_vmexit_info vmcs_vmexit_info_t
 

Functions

 _Static_assert (sizeof(vmcs_registers_t)==0x290, "vmcs_registers_t size mismatch")
 
uint32_t hypervisor_vmcs_revision_id (void)
 
int8_t hypervisor_vmcs_prepare_host_state (hypervisor_vm_t *vm)
 
int8_t hypervisor_vmcs_prepare_guest_state (void)
 
int8_t hypervisor_vmcs_prepare_pinbased_control (void)
 
int8_t hypervisor_vmcs_prepare_procbased_control (hypervisor_vm_t *vm)
 
int8_t hypervisor_msr_bitmap_set (uint8_t *bitmap, uint32_t msr, boolean_t read)
 
void hypervisor_io_bitmap_set_port (uint8_t *bitmap, uint16_t port)
 
int8_t hypervisor_vmcs_prepare_io_bitmap (hypervisor_vm_t *vm)
 
int8_t hypervisor_vmcs_prepare_execution_control (hypervisor_vm_t *vm)
 
int8_t hypervisor_vmcs_prepare_vm_exit_and_entry_control (hypervisor_vm_t *vm)
 
int8_t hypervisor_vmcs_prepare_ept (hypervisor_vm_t *vm)
 
int8_t hypervisor_vmcs_prepare_vmexit_handlers (void)
 
uint64_t hypervisor_vmcs_exit_handler_entry (uint64_t rsp)
 

Detailed Description

defines hypervisor related vmcs operations

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.