VirtualBox

Changeset 15963 in vbox


Ignore:
Timestamp:
Jan 15, 2009 12:47:03 PM (16 years ago)
Author:
vboxsync
Message:

initial HPET device support (not yet functional)

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r15953 r15963  
    388388# Enable LsiLogic SCSI host adapter
    389389VBOX_WITH_LSILOGIC = 1
     390# Enable HPET device
     391#VBOX_WITH_HPET = 1
    390392# Enable SCSI drivers
    391393VBOX_WITH_SCSI = 1
  • trunk/include/VBox/log.h

    r14438 r15963  
    9696    /** Floppy Controller Device group. */
    9797    LOG_GROUP_DEV_FDC,
     98    /** High Precision Event Timer Device group. */
     99    LOG_GROUP_DEV_HPET,
    98100    /** IDE Device group. */
    99101    LOG_GROUP_DEV_IDE,
     
    351353    "DEV_E1000",    \
    352354    "DEV_FDC",      \
     355    "DEV_HPET",     \
    353356    "DEV_IDE",      \
    354357    "DEV_INIP",     \
  • 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.

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