diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2017-02-06 17:57:25 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2017-02-06 17:57:25 +0000 |
commit | e1820f8fffdb31a4001a2c2ab13ff0db1b21ffcb (patch) | |
tree | 8dbeef203c720700d0453110109c0aa68f0d7026 /src/VBox/Devices/PC/vbox.dsl | |
parent | 508768f94337f359204862b76f290517cb498d16 (diff) | |
download | VirtualBox-svn-e1820f8fffdb31a4001a2c2ab13ff0db1b21ffcb.tar.gz |
vbox.dsl: no root bus resource window for Windows < 7
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@65633 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Devices/PC/vbox.dsl')
-rw-r--r-- | src/VBox/Devices/PC/vbox.dsl | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/VBox/Devices/PC/vbox.dsl b/src/VBox/Devices/PC/vbox.dsl index 7ef85e1b28a..b7424d6ed85 100644 --- a/src/VBox/Devices/PC/vbox.dsl +++ b/src/VBox/Devices/PC/vbox.dsl @@ -1596,16 +1596,20 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "VBOX ", "VBOXBIOS", 2) if (LNotEqual (PMEM, 0x00000000)) { - CreateQwordField (TOM, \_SB.PCI0.MEM4._MIN, TM4N) - CreateQwordField (TOM, \_SB.PCI0.MEM4._MAX, TM4X) - CreateQwordField (TOM, \_SB.PCI0.MEM4._LEN, TM4L) + // Not for Windows < 7! + If (LOr (LLess (MSWN(), 0x01), LGreater (MSWN(), 0x06))) + { + CreateQwordField (TOM, \_SB.PCI0.MEM4._MIN, TM4N) + CreateQwordField (TOM, \_SB.PCI0.MEM4._MAX, TM4X) + CreateQwordField (TOM, \_SB.PCI0.MEM4._LEN, TM4L) - Multiply (PMEM, 0x10000, TM4N) // PMEM in units of 64KB - Add (Subtract (TM4X, TM4N), 1, TM4L) // determine LEN, MAX is already there + Multiply (PMEM, 0x10000, TM4N) // PMEM in units of 64KB + Add (Subtract (TM4X, TM4N), 1, TM4L) // determine LEN, MAX is already there - ConcatenateResTemplate (CRS, TOM, Local2) + ConcatenateResTemplate (CRS, TOM, Local2) - Return (Local2) + Return (Local2) + } } Return (CRS) |