VirtualBox

Changeset 25987 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jan 24, 2010 1:50:26 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56852
Message:

HPET work

Location:
trunk/src/VBox/Devices/PC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevACPI.cpp

    r25985 r25987  
    23992399    s->uPmIoPortBase = PM_PORT_BASE;
    24002400
     2401    /*
     2402     * FDC and SMC try to use the same non-shareable interrupt (6),
     2403     * enable only one device.
     2404     */
     2405    if (s->fUseSmc)
     2406        s->fUseFdc = false;
     2407
    24012408    /* */
    24022409    uint32_t rsdp_addr = find_rsdp_space();
  • trunk/src/VBox/Devices/PC/vbox.dsl

    r25967 r25987  
    935935
    936936                // High Precision Event Timer
    937                 Device(HPET) {
    938                 Name (_HID,  EISAID("PNP0103"))
    939                 Name (_CID, EISAID("PNP0C01"))
    940                 Name(_UID, 0)
    941                 Method (_STA, 0, NotSerialized) {
    942                     Return(UHPT)
    943                 }
    944                 Name(CRS, ResourceTemplate() {
    945                  IRQNoFlags ()
     937                Device(HPET)
     938                {
     939                  Name (_HID,  EISAID("PNP0103"))
     940                  Name (_CID, EISAID("PNP0C01"))
     941                  Name(_UID, 0)
     942
     943                  Method (_STA, 0, NotSerialized)
     944                  {
     945                       Return(UHPT)
     946                  }
     947
     948                  Name(CRS, ResourceTemplate()
     949                  {
     950                      IRQNoFlags ()
    946951                            {0}
    947                  IRQNoFlags ()
     952                      IRQNoFlags ()
    948953                            {8}
    949                  Memory32Fixed (ReadWrite,
     954                      Memory32Fixed (ReadOnly,
    950955                            0xFED00000,         // Address Base
    951956                            0x00000400         // Address Length
     
    953958                  })
    954959               
    955                 }
    956                 Method (_CRS, 0, NotSerialized)
    957                 {
     960                  Method (_CRS, 0, NotSerialized)
     961                  {
    958962                     Return (CRS)
    959                 }
    960 
     963                  }
     964                }
    961965
    962966                // System Management Controller
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