Publish the files

This commit is contained in:
Satoshi Tanda
2020-02-22 13:54:50 -08:00
parent 83bd8d5f19
commit 791486327d
79 changed files with 36078 additions and 47 deletions

38
Sources/HostVmcall.h Normal file
View File

@@ -0,0 +1,38 @@
/*!
@file HostVmcall.h
@brief Implementation of hypercall functions.
@author Satoshi Tanda
@copyright Copyright (c) 2020 - , Satoshi Tanda. All rights reserved.
*/
#pragma once
#include "Common.h"
#include "HostUtils.h"
#include "Public.h"
//
// The VMCALL handler type.
//
typedef
VOID
VMCALL_HANDLER (
_Inout_ GUEST_CONTEXT* GuestContext
);
/*!
@brief Handles hypercall for uninstalling the hypervisor.
@param[in,out] GuestContext - A pointer to the guest context.
*/
VMCALL_HANDLER HandleVmcallUninstall;
//
// VMCALL handlers and mapping.
//
static VMCALL_HANDLER* k_VmcallHandlers[] =
{
HandleVmcallUninstall,
};
C_ASSERT(RTL_NUMBER_OF(k_VmcallHandlers) == VmcallInvalid);