VirtualBox

source: vbox/trunk/src/VBox/VMM/VMMR0/HMVMXR0.h@ 80078

Last change on this file since 80078 was 80078, checked in by vboxsync, 5 years ago

VMM/HM: Kicking out 32-bit host support bugref:9511

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 2.1 KB
Line 
1/* $Id: HMVMXR0.h 80078 2019-07-31 15:09:25Z vboxsync $ */
2/** @file
3 * HM VMX (VT-x) - Internal header file.
4 */
5
6/*
7 * Copyright (C) 2006-2019 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef VMM_INCLUDED_SRC_VMMR0_HMVMXR0_h
19#define VMM_INCLUDED_SRC_VMMR0_HMVMXR0_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24RT_C_DECLS_BEGIN
25
26/** @defgroup grp_vmx_int Internal
27 * @ingroup grp_vmx
28 * @internal
29 * @{
30 */
31
32#ifdef IN_RING0
33VMMR0DECL(int) VMXR0Enter(PVMCPU pVCpu);
34VMMR0DECL(void) VMXR0ThreadCtxCallback(RTTHREADCTXEVENT enmEvent, PVMCPU pVCpu, bool fGlobalInit);
35VMMR0DECL(int) VMXR0EnableCpu(PHMPHYSCPU pHostCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys,
36 bool fEnabledBySystem, PCSUPHWVIRTMSRS pHwvirtMsrs);
37VMMR0DECL(int) VMXR0DisableCpu(void *pvPageCpu, RTHCPHYS pPageCpuPhys);
38VMMR0DECL(int) VMXR0GlobalInit(void);
39VMMR0DECL(void) VMXR0GlobalTerm(void);
40VMMR0DECL(int) VMXR0InitVM(PVM pVM);
41VMMR0DECL(int) VMXR0TermVM(PVM pVM);
42VMMR0DECL(int) VMXR0SetupVM(PVM pVM);
43VMMR0DECL(int) VMXR0ExportHostState(PVMCPU pVCpu);
44VMMR0DECL(int) VMXR0InvalidatePage(PVMCPU pVCpu, RTGCPTR GCVirt);
45VMMR0DECL(int) VMXR0ImportStateOnDemand(PVMCPU pVCpu, uint64_t fWhat);
46VMMR0DECL(VBOXSTRICTRC) VMXR0RunGuestCode(PVMCPU pVCpu);
47DECLASM(int) VMXR0StartVM32(RTHCUINT fResume, PCPUMCTX pCtx, PVMXVMCSCACHE pVmcsCache, PVM pVM, PVMCPU pVCpu);
48DECLASM(int) VMXR0StartVM64(RTHCUINT fResume, PCPUMCTX pCtx, PVMXVMCSCACHE pVmcsCache, PVM pVM, PVMCPU pVCpu);
49#endif /* IN_RING0 */
50
51/** @} */
52
53RT_C_DECLS_END
54
55#endif /* !VMM_INCLUDED_SRC_VMMR0_HMVMXR0_h */
56
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette