GIMInternal.h revision 4ae0ac3d0dc641305a0b0197db43ee7c4b40f747
/* $Id$ */
/** @file
* GIM - Internal header file.
*/
/*
* Copyright (C) 2014 Oracle Corporation
*
* 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 (GPL) 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.
*/
#ifndef ___GIMInternal_h
#define ___GIMInternal_h
#include "GIMHvInternal.h"
#include "GIMMinimalInternal.h"
/** @defgroup grp_gim_int Internal
* @ingroup grp_gim
* @internal
* @{
*/
/** The saved state version. */
#define GIM_SAVED_STATE_VERSION 1
/**
* GIM VM Instance data.
* Changes to this must checked against the padding of the gim union in VM!
*/
typedef struct GIM
{
/** The provider that is active for this VM. */
/** The interface implementation version. */
/** Pointer to the GIM device - ring-3 context. */
#if 0
/** Pointer to the provider's ring-3 hypercall handler. */
/** Pointer to the provider's ring-0 hypercall handler. */
/** Pointer to the provider's raw-mode context hypercall handler. */
/** Pointer to the provider's ring-3 MSR-read handler. */
/** Pointer to the provider's ring-0 MSR-read handler. */
/** Pointer to the provider's raw-mode context MSR-read handler. */
/** Pointer to the provider's ring-3 MSR-read handler. */
/** Pointer to the provider's ring-0 MSR-read handler. */
/** Pointer to the provider's raw-mode context MSR-read handler. */
#endif
union
{
/** @todo KVM and others. */
} u;
} GIM;
/** Pointer to GIM VM instance data. */
/**
* GIM VMCPU Instance data.
*/
typedef struct GIMCPU
{
} GIMCPU;
/** Pointer to GIM VMCPU instance data. */
#ifdef IN_RING3
#endif /* IN_RING3 */
/** @} */
#endif