diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2009-01-22 14:40:08 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2009-01-22 14:40:08 +0000 |
commit | a7ae75aec459a4dc03d0721669a01f81f619f9d7 (patch) | |
tree | 119b525c4755e0ace0d089a293329f83521d9403 /src/VBox/Devices/PC/vbox.dsl | |
parent | 0987e68367141f07560c44a67bdb493450d34ab3 (diff) | |
download | VirtualBox-svn-a7ae75aec459a4dc03d0721669a01f81f619f9d7.tar.gz |
More device work
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@16170 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Devices/PC/vbox.dsl')
-rw-r--r-- | src/VBox/Devices/PC/vbox.dsl | 59 |
1 files changed, 52 insertions, 7 deletions
diff --git a/src/VBox/Devices/PC/vbox.dsl b/src/VBox/Devices/PC/vbox.dsl index 4cff3ffb0bb..47c24c39904 100644 --- a/src/VBox/Devices/PC/vbox.dsl +++ b/src/VBox/Devices/PC/vbox.dsl @@ -140,6 +140,9 @@ DefinitionBlock ("DSDT.aml", "DSDT", 1, "VBOX ", "VBOXBIOS", 2) { MEML, 32, UIOA, 32, + UHPT, 32, + USMC, 32, + UFDC, 32, Offset (0x80), ININ, 32, Offset (0x200), @@ -153,6 +156,12 @@ DefinitionBlock ("DSDT.aml", "DSDT", 1, "VBOX ", "VBOXBIOS", 2) HEX4 (MEML) DBG ("UIOA: ") HEX4 (UIOA) + DBG ("UHPT: ") + HEX4 (UHPT) + DBG ("USMC: ") + HEX4 (USMC) + DBG ("UFDC: ") + HEX4 (UFDC) } // PCI PIC IRQ Routing table @@ -563,15 +572,9 @@ DefinitionBlock ("DSDT.aml", "DSDT", 1, "VBOX ", "VBOXBIOS", 2) { Name (_HID, EisaId ("PNP0700")) - OperationRegion (CFDC, SystemIO, 0x4054, 0x08) - Field (CFDC, DwordAcc, NoLock, Preserve) - { - FSTA, 32, - } - Method (_STA, 0, NotSerialized) { - Return (FSTA) + Return (UFDC) } // Current resource settings @@ -851,6 +854,48 @@ DefinitionBlock ("DSDT.aml", "DSDT", 1, "VBOX ", "VBOXBIOS", 2) Scope (\_SB) { + // High Precision Event Timer + Device(HPET) { + Name(_HID, EISAID("PNP0103")) + Name(_UID, 0) + Method (_STA, 0, NotSerialized) { + Return(UHPT) + } + Name(_CRS, ResourceTemplate() { + DWordMemory( + ResourceConsumer, PosDecode, MinFixed, MaxFixed, + NonCacheable, ReadWrite, + 0x00000000, + 0xFED00000, + 0xFED003FF, + 0x00000000, + 0x00000400 /* 1K memory: FED00000 - FED003FF */ + ) + }) + } + + // System Management Controller + Device (SMC) + { + Name (_HID, EisaId ("APP0001")) + Name (_CID, "smc-napa") + + Method (_STA, 0, NotSerialized) + { + Return (USMC) + } + Name (_CRS, ResourceTemplate () + { + IO (Decode16, + 0x0300, // Range Minimum + 0x0300, // Range Maximum + 0x01, // Alignment + 0x20, // Length + ) + //IRQNoFlags () {8} + }) + } + // Fields within PIIX3 configuration[0x60..0x63] with // IRQ mappings Field (\_SB.PCI0.SBRG.PCIC, ByteAcc, NoLock, Preserve) |