VBGLInternal.h revision d6aa6429f99fb7648883eb612f8a52b9aaf3bff4
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore/* $Revision$ */
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore * VBoxGuestLibR0 - Internal header.
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore * Copyright (C) 2006-2007 Sun Microsystems, Inc.
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore * This file is part of VirtualBox Open Source Edition (OSE), as
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore * available from http://www.virtualbox.org. This file is free software;
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore * you can redistribute it and/or modify it under the terms of the GNU
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore * General Public License (GPL) as published by the Free Software
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore * Foundation, in version 2 as it comes in the "COPYING" file of the
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore * Clara, CA 95054 USA or visit http://www.sun.com if you need
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore * additional information or have any questions.
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore/* I have added this include here as
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore a) This file is always included before VBGLInternal and
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore b) It contains a definition for VBGLHGCMHANDLE, so we definitely do not
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore need to redefine that here. The C (without ++) compiler was complaining
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore that it was defined twice.
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore/** @todo dprintf() -> Log() */
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore#if (defined(DEBUG) && !defined(NO_LOGGING)) || defined(LOG_ENABLED)
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore# define dprintf(a) do {} while (0)
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amoretypedef struct _VBGLPHYSHEAPBLOCK VBGLPHYSHEAPBLOCK;
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amoretypedef struct _VBGLPHYSHEAPCHUNK VBGLPHYSHEAPCHUNK;
7a4f122cf63a91c2888629e433b5f5ee7536a802Garrett D'Amore * Physical memory heap data.
#ifndef VBGL_VBOXGUEST
} VBGLDATA;
#pragma pack()
#ifndef VBGL_DECL_DATA
int VbglEnter (void);
#ifdef VBOX_WITH_HGCM
#ifndef VBGL_VBOXGUEST
int vbglHGCMInit (void);
int vbglHGCMTerminate (void);