diff options
Diffstat (limited to 'src/VBox/Devices/Builtins2.cpp')
-rw-r--r-- | src/VBox/Devices/Builtins2.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/VBox/Devices/Builtins2.cpp b/src/VBox/Devices/Builtins2.cpp index ad013f43a..b27190974 100644 --- a/src/VBox/Devices/Builtins2.cpp +++ b/src/VBox/Devices/Builtins2.cpp @@ -1,10 +1,12 @@ /* $Id $ */ /** @file - * Built-in drivers & devices (part 2). + * Built-in drivers & devices part 2. + * + * These drivers and devices are in separate modules because of LGPL. */ /* - * Copyright (C) 2006-2007 Oracle Corporation + * Copyright (C) 2006-2010 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; @@ -60,6 +62,16 @@ extern "C" DECLEXPORT(int) VBoxDevicesRegister(PPDMDEVREGCB pCallbacks, uint32_t rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceIOAPIC); if (RT_FAILURE(rc)) return rc; +#ifdef VBOX_WITH_SMC + rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceSMC); + if (RT_FAILURE(rc)) + return rc; +#endif +#ifdef VBOX_WITH_LPC + rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceLPC); + if (RT_FAILURE(rc)) + return rc; +#endif return VINF_SUCCESS; } |