VirtualBox

source: vbox/trunk/src/VBox/VMM/include/GCMInternal.h@ 95394

Last change on this file since 95394 was 94882, checked in by vboxsync, 3 years ago

VMM: First stab at Guest Compatibility Manager, fixing up things like division overflows caused by fast CPUs (see bugref:9735).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1/** @file
2 * GCM - Internal header file.
3 */
4
5/*
6 * Copyright (C) 2022 Oracle Corporation
7 *
8 * This file is part of VirtualBox Open Source Edition (OSE), as
9 * available from http://www.virtualbox.org. This file is free software;
10 * you can redistribute it and/or modify it under the terms of the GNU
11 * General Public License (GPL) as published by the Free Software
12 * Foundation, in version 2 as it comes in the "COPYING" file of the
13 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15 */
16
17#ifndef VMM_INCLUDED_SRC_include_GCMInternal_h
18#define VMM_INCLUDED_SRC_include_GCMInternal_h
19#ifndef RT_WITHOUT_PRAGMA_ONCE
20# pragma once
21#endif
22
23#include <VBox/vmm/gcm.h>
24#include <VBox/vmm/pgm.h>
25
26RT_C_DECLS_BEGIN
27
28/** @defgroup grp_gcm_int Internal
29 * @ingroup grp_gcm
30 * @internal
31 * @{
32 */
33
34/** The saved state version. */
35#define GCM_SAVED_STATE_VERSION 1
36
37/**
38 * GCM VM Instance data.
39 */
40typedef struct GCM
41{
42 /** The provider that is active for this VM. */
43 int32_t enmFixerIds;
44 /** The interface implementation version. */
45 uint32_t u32Version;
46
47} GCM;
48/** Pointer to GCM VM instance data. */
49typedef GCM *PGCM;
50
51/** @} */
52
53RT_C_DECLS_END
54
55#endif /* !VMM_INCLUDED_SRC_include_GCMInternal_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