VirtualBox

source: vbox/trunk/src/VBox/VMM/include/SELMInternal.h@ 80014

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

VMM: Kicking out raw-mode (work in progress). bugref:9517

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 1.5 KB
Line 
1/* $Id: SELMInternal.h 80014 2019-07-26 16:12:06Z vboxsync $ */
2/** @file
3 * SELM - 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_include_SELMInternal_h
19#define VMM_INCLUDED_SRC_include_SELMInternal_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24#include <VBox/cdefs.h>
25#include <VBox/types.h>
26#include <VBox/vmm/stam.h>
27#include <VBox/vmm/cpum.h>
28#include <VBox/vmm/pgm.h>
29#include <VBox/log.h>
30#include <iprt/x86.h>
31
32
33
34/** @defgroup grp_selm_int Internals
35 * @ingroup grp_selm
36 * @internal
37 * @{
38 */
39
40/** The number of GDTS allocated for our GDT. (full size) */
41#define SELM_GDT_ELEMENTS 8192
42
43
44/**
45 * SELM Data (part of VM)
46 *
47 * @note This is a very marginal component after kicking raw-mode.
48 */
49typedef struct SELM
50{
51#ifdef VBOX_WITH_STATISTICS
52 STAMCOUNTER StatLoadHidSelGst;
53 STAMCOUNTER StatLoadHidSelShw;
54#endif
55 STAMCOUNTER StatLoadHidSelReadErrors;
56 STAMCOUNTER StatLoadHidSelGstNoGood;
57} SELM, *PSELM;
58
59
60/** @} */
61
62#endif /* !VMM_INCLUDED_SRC_include_SELMInternal_h */
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