Builtins.cpp revision 312750b01ccf51b405eca0fd5dbb8c51dfd365d5
/** $Id$ */
/** @file
* Built-in drivers & devices (part 1)
*/
/*
* Copyright (C) 2006-2007 innotek GmbH
*
* 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 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.
*/
/*******************************************************************************
* Header Files *
*******************************************************************************/
#define LOG_GROUP LOG_GROUP_DEV
#include "Builtins.h"
/*******************************************************************************
* Global Variables *
*******************************************************************************/
const void *g_apvVBoxDDDependencies[] =
{
NULL,
};
/**
* Register builtin devices.
*
* @returns VBox status code.
* @param pCallbacks Pointer to the callback table.
* @param u32Version VBox version number.
*/
{
AssertReleaseMsg(u32Version == VBOX_VERSION, ("u32Version=%#x VBOX_VERSION=%#x\n", u32Version, VBOX_VERSION));
int rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
#if 0
if (VBOX_FAILURE(rc))
return rc;
#endif
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
#ifdef VBOX_WITH_USB
if (VBOX_FAILURE(rc))
return rc;
#endif
#ifdef VBOX_ACPI
if (VBOX_FAILURE(rc))
return rc;
#endif
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
#ifdef VBOX_WITH_AHCI
if (VBOX_FAILURE(rc))
return rc;
#endif
return VINF_SUCCESS;
}
/**
* Register builtin drivers.
*
* @returns VBox status code.
* @param pCallbacks Pointer to the callback table.
* @param u32Version VBox version number.
*/
{
AssertReleaseMsg(u32Version == VBOX_VERSION, ("u32Version=%#x VBOX_VERSION=%#x\n", u32Version, VBOX_VERSION));
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
#ifndef RT_OS_L4
if (VBOX_FAILURE(rc))
return rc;
#endif
#if defined(RT_OS_DARWIN) || defined(RT_OS_LINUX) || defined(RT_OS_SOLARIS) || defined(RT_OS_WINDOWS)
if (VBOX_FAILURE(rc))
return rc;
#endif
#if defined(RT_OS_LINUX) || defined(RT_OS_WINDOWS)
if (VBOX_FAILURE(rc))
return rc;
#endif
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
#if defined(RT_OS_WINDOWS) || defined(RT_OS_LINUX)
if (VBOX_FAILURE(rc))
return rc;
#endif
#ifdef VBOX_WITH_ISCSI
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
#endif
#ifndef RT_OS_L4
if (VBOX_FAILURE(rc))
return rc;
#endif
#if defined(RT_OS_L4) || defined(RT_OS_LINUX) || defined(RT_OS_OS2) || defined(RT_OS_SOLARIS) || defined(RT_OS_WINDOWS)
if (VBOX_FAILURE(rc))
return rc;
#endif
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
#ifdef VBOX_WITH_USB
if (VBOX_FAILURE(rc))
return rc;
#endif
#if !defined(RT_OS_L4)
if (VBOX_FAILURE(rc))
return rc;
if (VBOX_FAILURE(rc))
return rc;
#endif
#if defined(RT_OS_LINUX)
if (VBOX_FAILURE(rc))
return rc;
#endif
#if defined(RT_OS_LINUX) || defined(RT_OS_WINDOWS)
if (VBOX_FAILURE(rc))
return rc;
#endif
return VINF_SUCCESS;
}
#ifdef VBOX_WITH_USB
/**
* Register builtin USB device.
*
* @returns VBox status code.
* @param pCallbacks Pointer to the callback table.
* @param u32Version VBox version number.
*/
{
if (VBOX_FAILURE(rc))
return rc;
return VINF_SUCCESS;
}
#endif