VirtualBox

Changeset 52473 in vbox


Ignore:
Timestamp:
Aug 22, 2014 1:35:55 PM (11 years ago)
Author:
vboxsync
Message:

Devices/Misc: new VirtualKD stub/loader device, contributed by Ivan Shcherbakov (and heavily modified afterwards to integrate cleanly into VirtualBox and match the coding style)

Location:
trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r52447 r52473  
    521521# Disk crypt plugin
    522522VBOX_WITH_PLUGIN_CRYPT = 1
     523# VirtualKD stub/loader device, only relevant on Windows host
     524VBOX_WITH_VIRTUALKD = 1
    523525## @}
    524526
  • trunk/src/VBox/Devices/Makefile.kmk

    r52249 r52473  
    55
    66#
    7 # Copyright (C) 2006-2013 Oracle Corporation
     7# Copyright (C) 2006-2014 Oracle Corporation
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    514514         Audio/audiosniffer.c \
    515515         Audio/noaudio.c \
    516          Audio/filteraudio.c 
     516         Audio/filteraudio.c
    517517 endif
    518518
     
    698698 else
    699699   VBoxDD_SOURCES.linux  += \
    700          Audio/ossaudio.c 
    701  endif
    702  
     700         Audio/ossaudio.c
     701 endif
     702
    703703 ifeq ($(KBUILD_TARGET),os2)
    704704 VBoxDD_SOURCES        := $(filter-out Storage/DrvHost%, $(VBoxDD_SOURCES))
     
    714714  else
    715715    VBoxDD_SOURCES.solaris += \
    716           Audio/solaudio.c 
     716          Audio/solaudio.c
    717717  endif
    718718  ifdef VBOX_WITH_SOLARIS_OSS
     
    742742 else
    743743 VBoxDD_SOURCES.win    += \
    744    Audio/dsoundaudio.c
     744   Audio/dsoundaudio.c
     745 endif
     746
     747 ifdef VBOX_WITH_VIRTUALKD
     748  VBoxDD_DEFS.win     += VBOX_WITH_VIRTUALKD
     749  VBoxDD_SOURCES.win  += \
     750    Misc/VirtualKD.cpp
    745751 endif
    746752
  • trunk/src/VBox/Devices/build/VBoxDD.cpp

    r52249 r52473  
    55
    66/*
    7  * Copyright (C) 2006-2012 Oracle Corporation
     7 * Copyright (C) 2006-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    200200    if (RT_FAILURE(rc))
    201201        return rc;
     202#ifdef VBOX_WITH_VIRTUALKD
     203    rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceVirtualKD);
     204    if (RT_FAILURE(rc))
     205        return rc;
     206#endif
    202207
    203208    return VINF_SUCCESS;
  • trunk/src/VBox/Devices/build/VBoxDD.h

    r52249 r52473  
    55
    66/*
    7  * Copyright (C) 2006-2013 Oracle Corporation
     7 * Copyright (C) 2006-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    8585extern const PDMDEVREG g_DevicePciRaw;
    8686#endif
     87extern const PDMDEVREG g_DeviceGIMDev;
     88#ifdef VBOX_WITH_VIRTUALKD
     89extern const PDMDEVREG g_DeviceVirtualKD;
     90#endif
    8791
    8892extern const PDMDRVREG g_DrvMouseQueue;
     
    148152extern const PDMDRVREG g_DrvPciRaw;
    149153#endif
    150 extern const PDMDEVREG g_DeviceGIMDev;
    151154
    152155#ifdef VBOX_WITH_USB
Note: See TracChangeset for help on using the changeset viewer.

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