HWVMXR0.h revision 17ba03925269c071aa1567eb8c5a49c37a65f62f
/* $Id$ */
/** @file
* HWACCM SVM - Internal header file.
*/
/*
* Copyright (C) 2006-2007 innotek GmbH
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License as published by the Free Software Foundation,
* in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
* distribution. VirtualBox OSE is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY of any kind.
*
* If you received this file as part of a commercial VirtualBox
* distribution, then only the terms of your commercial VirtualBox
* license agreement apply instead of the previous paragraph.
*/
#ifndef ___HWVMXR0_h
#define ___HWVMXR0_h
#include <VBox/hwacc_vmx.h>
/** @defgroup grp_vmx Internal
* @ingroup grp_vmx
* @internal
* @{
*/
#ifdef IN_RING0
/**
* Enable VMX
*
* @returns VBox status code.
* @param pVM The VM to operate on.
*/
/**
* Disable VMX
*
* @returns VBox status code.
* @param pVM The VM to operate on.
*/
/**
* Sets up and activates VMX
*
* @returns VBox status code.
* @param pVM The VM to operate on.
*/
/**
* Save the host state
*
* @returns VBox status code.
* @param pVM The VM to operate on.
*/
/**
* Loads the guest state
*
* @returns VBox status code.
* @param pVM The VM to operate on.
* @param pCtx Guest context
*/
/**
* Runs guest code in a VMX VM.
*
* @note NEVER EVER turn on interrupts here. Due to our illegal entry into the kernel, it might mess things up. (XP kernel traps have been frequently observed)
*
* @returns VBox status code.
* @param pVM The VM to operate on.
* @param pCtx Guest context
*/
else \
else \
\
#endif /* IN_RING0 */
/** @} */
#endif