Changeset 65581 in vbox
- Timestamp:
- Feb 2, 2017 8:25:12 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/vbox.dsl
r65577 r65581 1591 1591 CreateDwordField (CRS, \_SB.PCI0.MEM3._MIN, RAMT) 1592 1592 CreateDwordField (CRS, \_SB.PCI0.MEM3._LEN, RAMR) 1593 CreateQwordField (TOM, \_SB.PCI0.MEM4._MIN, TM4N)1594 CreateQwordField (TOM, \_SB.PCI0.MEM4._MAX, TM4X)1595 CreateQwordField (TOM, \_SB.PCI0.MEM4._LEN, TM4L)1593 // CreateQwordField (TOM, \_SB.PCI0.MEM4._MIN, TM4N) 1594 // CreateQwordField (TOM, \_SB.PCI0.MEM4._MAX, TM4X) 1595 // CreateQwordField (TOM, \_SB.PCI0.MEM4._LEN, TM4L) 1596 1596 1597 1597 Store (MEML, RAMT) 1598 1598 Subtract (0xffe00000, RAMT, RAMR) 1599 1599 1600 if (LNotEqual (PMEM, 0x00000000))1601 {1602 Store (0x10000000, Local1) // 16TB in units of 64KB1603 Multiply (PMEM, 0x10000, TM4N) // PMEM in units of 64KB1604 Multiply (Local1, 0x10000, TM4L)1605 Subtract (Add (TM4N, TM4L), 1, TM4X) // MAX = MIN + LEN - 11606 1607 ConcatenateResTemplate (CRS, TOM, Local2)1608 1609 Return (Local2)1610 }1600 // if (LNotEqual (PMEM, 0x00000000)) 1601 // { 1602 // Store (0x10000000, Local1) // 16TB in units of 64KB 1603 // Multiply (PMEM, 0x10000, TM4N) // PMEM in units of 64KB 1604 // Multiply (Local1, 0x10000, TM4L) 1605 // Subtract (Add (TM4N, TM4L), 1, TM4X) // MAX = MIN + LEN - 1 1606 // 1607 // ConcatenateResTemplate (CRS, TOM, Local2) 1608 // 1609 // Return (Local2) 1610 // } 1611 1611 1612 1612 Return (CRS)
Note:
See TracChangeset
for help on using the changeset viewer.