VirtualBox

source: vbox/trunk/src/VBox/Devices/build/VBoxDD2.cpp@ 105381

Last change on this file since 105381 was 98103, checked in by vboxsync, 23 months ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1/* $Id: VBoxDD2.cpp 98103 2023-01-17 14:15:46Z vboxsync $ */
2/** @file
3 * VBoxDD2 - Built-in drivers & devices part 2.
4 *
5 * These drivers and devices are in separate modules because of LGPL.
6 */
7
8/*
9 * Copyright (C) 2006-2023 Oracle and/or its affiliates.
10 *
11 * This file is part of VirtualBox base platform packages, as
12 * available from https://www.virtualbox.org.
13 *
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation, in version 3 of the
17 * License.
18 *
19 * This program is distributed in the hope that it will be useful, but
20 * WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, see <https://www.gnu.org/licenses>.
26 *
27 * SPDX-License-Identifier: GPL-3.0-only
28 */
29
30
31/*********************************************************************************************************************************
32* Header Files *
33*********************************************************************************************************************************/
34#define LOG_GROUP LOG_GROUP_DEV
35#include <VBox/vmm/pdm.h>
36#include <VBox/version.h>
37#include <iprt/errcore.h>
38
39#include <VBox/log.h>
40#include <iprt/assert.h>
41
42#include "VBoxDD2.h"
43
44
45/*********************************************************************************************************************************
46* Global Variables *
47*********************************************************************************************************************************/
48const void *g_apvVBoxDDDependencies2[] =
49{
50 (void *)&g_abPcBiosBinary386,
51 (void *)&g_abPcBiosBinary286,
52 (void *)&g_abPcBiosBinary8086,
53 (void *)&g_abVgaBiosBinary386,
54 (void *)&g_abVgaBiosBinary286,
55 (void *)&g_abVgaBiosBinary8086,
56#ifdef VBOX_WITH_PXE_ROM
57 (void *)&g_abNetBiosBinary,
58#endif
59};
60
61
62/**
63 * Register builtin devices.
64 *
65 * @returns VBox status code.
66 * @param pCallbacks Pointer to the callback table.
67 * @param u32Version VBox version number.
68 */
69extern "C" DECLEXPORT(int) VBoxDevicesRegister(PPDMDEVREGCB pCallbacks, uint32_t u32Version)
70{
71 LogFlow(("VBoxDevicesRegister: u32Version=%#x\n", u32Version));
72 AssertReleaseMsg(u32Version == VBOX_VERSION, ("u32Version=%#x VBOX_VERSION=%#x\n", u32Version, VBOX_VERSION));
73
74 RT_NOREF(pCallbacks);
75
76 return VINF_SUCCESS;
77}
78
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette