VirtualBox

Changeset 16049 in vbox


Ignore:
Timestamp:
Jan 19, 2009 5:12:11 PM (16 years ago)
Author:
vboxsync
Message:

HPET&SMC config

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r16042 r16049  
    442442
    443443    /*
     444     * High Precision Event Timer (HPET)
     445     */
     446    BOOL fHpetEnabled;
     447    /** @todo: implement appropriate getter */
     448#ifdef VBOX_WITH_HPET
     449    fHpetEnabled = true;
     450#else
     451    fHpetEnabled = false;
     452#endif
     453
     454    /*
     455     * System Management Controller (SMC)
     456     */
     457    BOOL fSmcEnabled;
     458    /** @todo: implement appropriate getter */
     459#ifdef VBOX_WITH_SMC
     460    fSmcEnabled = true;
     461#else
     462    fSmcEnabled = false;
     463#endif
     464
     465    /*
     466     * Low Pin Count (LPC) bus
     467     */
     468    BOOL fLpcEnabled;
     469    /** @todo: implement appropriate getter */
     470#ifdef VBOX_WITH_LPC
     471    fLpcEnabled = true;
     472#else
     473    fLpcEnabled = false;
     474#endif
     475
     476    /*
    444477     * PS/2 keyboard & mouse.
    445478     */
     
    558591        rc = CFGMR3InsertInteger(pCfg,  "IOAPIC", fIOAPIC);                         RC_CHECK();
    559592        rc = CFGMR3InsertInteger(pCfg,  "FdcEnabled", fFdcEnabled);                 RC_CHECK();
     593#ifdef VBOX_WITH_HPET
     594        rc = CFGMR3InsertInteger(pCfg,  "HpetEnabled", fHpetEnabled);               RC_CHECK();
     595#endif
     596#ifdef VBOX_WITH_SMC
     597        rc = CFGMR3InsertInteger(pCfg,  "SmcEnabled", fSmcEnabled);                 RC_CHECK();
     598#endif
    560599        rc = CFGMR3InsertInteger(pInst, "PCIDeviceNo",          7);                 RC_CHECK();
    561600        Assert(!afPciDeviceNo[7]);
  • trunk/src/VBox/Main/Makefile.kmk

    r16016 r16049  
    446446        $(if $(VBOX_WITH_CROSSBOW),VBOX_WITH_CROSSBOW,) \
    447447        $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000,) \
     448        $(if $(VBOX_WITH_HPET),VBOX_WITH_HPET,) \
     449        $(if $(VBOX_WITH_SMC),VBOX_WITH_SMC,) \
    448450        $(if $(VBOX_WITH_PDM_ASYNC_COMPLETION),VBOX_WITH_PDM_ASYNC_COMPLETION,)
    449451ifdef 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