Turnstone Operating System
Loading...
Searching...
No Matches
hypervisor.64.c File Reference

Hypervisor for 64-bit x86 architecture. More...

#include <hypervisor/hypervisor.h>
#include <hypervisor/hypervisor_vmx_macros.h>
#include <hypervisor/hypervisor_vmx_vmcs_ops.h>
#include <hypervisor/hypervisor_vmx_ops.h>
#include <hypervisor/hypervisor_vm.h>
#include <hypervisor/hypervisor_utils.h>
#include <hypervisor/hypervisor_svm_macros.h>
#include <hypervisor/hypervisor_svm_vmcb_ops.h>
#include <cpu.h>
#include <cpu/crx.h>
#include <cpu/descriptor.h>
#include <cpu/task.h>
#include <cpu/sync.h>
#include <memory/paging.h>
#include <memory/frame.h>
#include <logging.h>
#include <utils.h>
#include <strings.h>
#include <apic.h>

Functions

 MODULE ("turnstone.hypervisor")
 
static int32_t hypervisor_vmx_vm_task (uint64_t argc, void **args)
 
static int8_t hypervisor_svm_vm_task (uint64_t argc, void **args)
 
static int8_t hypervisor_init_intel (void)
 
static int8_t hypervisor_init_amd (void)
 
int8_t hypervisor_init (void)
 
int8_t hypervisor_vm_create (const char_t *entry_point_name, uint64_t heap_size, uint64_t stack_size)
 
int8_t hypervisor_stop (void)
 

Variables

uint64_t hypervisor_next_vm_id = 0
 
lock_thypervisor_vm_lock = NULL
 

Detailed Description

Hypervisor for 64-bit x86 architecture.

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