/** @file
*
* VBox Host Guest Shared Memory Interface (HGSMI).
* Host part.
*/
/*
* Copyright (C) 2006-2015 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 ___HGSMIHost_h
#define ___HGSMIHost_h
struct HGSMIINSTANCE;
/* Callback for the guest notification about a new host buffer. */
/*
* Public Host API for virtual devices.
*/
const char *pszName,
void *pvNotifyGuest,
const void *pv);
void *pvChannelHandler);
const char *pszChannel,
void *pvChannelHandler,
/*
* Virtual hardware IO handlers.
*/
/* Guests passes a new command buffer to the host. */
/* Guest reads information about guest buffers. */
/* Guest reads the host FIFO to get a command. */
/* Guest reports that the command at this offset has been processed. */
/*
* Low level interface for submitting buffers to the guest.
*
* These functions are not directly available for anyone but the
* virtual hardware device.
*/
/* Allocate a buffer in the host heap. */
void **ppvMem,
void *pvMem);
void *pvMem,
bool bDoIrq);
void *pvMem);
#ifdef VBOX_WITH_WDDM
#endif
#endif /* !___HGSMIHost_h*/