cmc.c revision a3a594f6d491755d6705feee935e9b48c98d18c7
/** @file
*
*/
/*
* Copyright (C) 2006-2007 Sun Microsystems, Inc.
*
* 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.
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
* Clara, CA 95054 USA or visit http://www.sun.com if you need
* additional information or have any questions.
*/
#include "the-linux-kernel.h"
#include "vboxmod.h"
/**
* HGCM
*
*/
static DECLVBGL(void)
{
}
static DECLVBGL(void)
vboxadd_hgcm_callback_interruptible (VMMDevHGCMRequestHeader *pHeader, void *pvData, uint32_t u32Data)
{
}
{
switch (func)
{
/* this function can NOT handle cancelled requests */
/* this function can NOT handle cancelled requests */
/* this function can handle cancelled requests */
default:
return VERR_VBGL_IOCTL_FAILED;
}
}
int vboxadd_cmc_init (void)
{
return 0;
}
void vboxadd_cmc_fini (void)
{
}
DECLVBGL (int)
{
int rc;
if (VBOX_FAILURE (rc))
{
return -1;
}
if (VBOX_FAILURE (rc))
{
return -1;
}
return 0;
}