Changeset 65633 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Feb 6, 2017 5:57:25 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/vbox.dsl
r65594 r65633 1597 1597 if (LNotEqual (PMEM, 0x00000000)) 1598 1598 { 1599 CreateQwordField (TOM, \_SB.PCI0.MEM4._MIN, TM4N) 1600 CreateQwordField (TOM, \_SB.PCI0.MEM4._MAX, TM4X) 1601 CreateQwordField (TOM, \_SB.PCI0.MEM4._LEN, TM4L) 1602 1603 Multiply (PMEM, 0x10000, TM4N) // PMEM in units of 64KB 1604 Add (Subtract (TM4X, TM4N), 1, TM4L) // determine LEN, MAX is already there 1605 1606 ConcatenateResTemplate (CRS, TOM, Local2) 1607 1608 Return (Local2) 1599 // Not for Windows < 7! 1600 If (LOr (LLess (MSWN(), 0x01), LGreater (MSWN(), 0x06))) 1601 { 1602 CreateQwordField (TOM, \_SB.PCI0.MEM4._MIN, TM4N) 1603 CreateQwordField (TOM, \_SB.PCI0.MEM4._MAX, TM4X) 1604 CreateQwordField (TOM, \_SB.PCI0.MEM4._LEN, TM4L) 1605 1606 Multiply (PMEM, 0x10000, TM4N) // PMEM in units of 64KB 1607 Add (Subtract (TM4X, TM4N), 1, TM4L) // determine LEN, MAX is already there 1608 1609 ConcatenateResTemplate (CRS, TOM, Local2) 1610 1611 Return (Local2) 1612 } 1609 1613 } 1610 1614
Note:
See TracChangeset
for help on using the changeset viewer.