blob: 37ad12115531b19df1faa17fac6d17d21de1c19a [file] [log] [blame]
/*
* Copyright 2017, Data61
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
* ABN 41 687 119 230.
*
* This software may be distributed and modified according to the terms of
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
* See "LICENSE_GPLv2.txt" for details.
*
* @TAG(DATA61_GPL)
*/
#pragma once
#include <sel4/sel4.h>
#include <vmm/vmm.h>
int vmm_vmcs_read(seL4_CPtr vcpu, seL4_Word field);
void vmm_vmcs_write(seL4_CPtr vcpu, seL4_Word field, seL4_Word value);
void vmm_vmcs_init_guest(vmm_vcpu_t *vcpu);