VirtualBox

Changeset 15963 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 15, 2009 12:47:03 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
41611
Message:

initial HPET device support (not yet functional)

Location:
trunk/src/VBox/Devices
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Builtins.cpp

    r15836 r15963  
    7979    if (RT_FAILURE(rc))
    8080        return rc;
     81#ifdef VBOX_WITH_HPET
     82    rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceHPET);
     83    if (RT_FAILURE(rc))
     84        return rc;
     85#endif
    8186    rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceMC146818);
    8287    if (RT_FAILURE(rc))
  • trunk/src/VBox/Devices/Builtins.h

    r14965 r15963  
    3838extern const PDMDEVREG g_DeviceI8254;
    3939extern const PDMDEVREG g_DeviceI8259;
     40#ifdef VBOX_WITH_HPET
     41extern const PDMDEVREG g_DeviceHPET;
     42#endif
    4043extern const PDMDEVREG g_DeviceMC146818;
    4144extern const PDMDEVREG g_DevicePIIX3IDE;
  • trunk/src/VBox/Devices/Makefile.kmk

    r15836 r15963  
    328328endif
    329329
     330ifdef VBOX_WITH_HPET
     331DevicesR3_DEFS          += VBOX_WITH_HPET
     332DevicesR3_SOURCES       += PC/DevHPET.cpp
     333endif
     334
    330335ifdef VBOX_WITH_USB
    331336DevicesR3_DEFS         += VBOX_WITH_USB IN_USB_R3
     
    425430endif
    426431
     432ifdef VBOX_WITH_HPET
     433VBoxDDGC_DEFS          += VBOX_WITH_HPET
     434VBoxDDGC_SOURCES       += PC/DevHPET.cpp
     435endif
     436
    427437ifeq ($(VBOX_LDR_FMT32),pe)
    428438VBoxDDGC_LDFLAGS        = -Entry:vgaMMIOWrite
     
    495505endif
    496506
     507ifdef VBOX_WITH_HPET
     508VBoxDDR0_DEFS          += VBOX_WITH_HPET
     509VBoxDDR0_SOURCES       += PC/DevHPET.cpp
     510endif
     511
    497512ifeq ($(VBOX_LDR_FMT32),pe)
    498513VBoxDDR0_LDFLAGS        = -Entry:vgaMMIOWrite
     
    501516VBoxDDR0_LIBS           = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
    502517endif
    503 
    504518
    505519#
Note: See TracChangeset for help on using the changeset viewer.

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