Changeset 65577 in vbox for trunk/src/VBox
- Timestamp:
- Feb 1, 2017 8:07:03 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 113230
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/vbox.dsl
r65573 r65577 14 14 // hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 15 15 16 DefinitionBlock ("DSDT.aml", "DSDT", 1, "VBOX ", "VBOXBIOS", 2)16 DefinitionBlock ("DSDT.aml", "DSDT", 2, "VBOX ", "VBOXBIOS", 2) 17 17 { 18 18 // Declare debugging ports withing SystemIO … … 1578 1578 0x0000000000000000, // _GRA: Granularity. 1579 1579 0x0000000100000000, // _MIN: Min address, 4GB, will be overwritten. 1580 0x000000 20ffffffff, // _MAX: Max possible address, will be overwritten.1580 0x00000080ffffffff, // _MAX: Max possible address, will be overwritten. 1581 1581 0x0000000000000000, // _TRA: Translation 1582 0x000000 2000000000, // _LEN: Range length (calculated dynamically)1582 0x0000008000000000, // _LEN: Range length (def. 512G, calculated dynamically) 1583 1583 , // ResourceSourceIndex: Optional field left blank 1584 1584 , // ResourceSource: Optional field left blank … … 1600 1600 if (LNotEqual (PMEM, 0x00000000)) 1601 1601 { 1602 Store (PMEM, TM4N) 1603 ShiftLeft (TM4N, 16, TM4N) 1604 1605 Store (PMEM, TM4X) 1606 Store (0x10000000, TM4L) // Size 16TB 1607 Add (TM4X, TM4L, TM4X) 1608 Subtract (TM4X, 1, TM4X) 1609 ShiftLeft (TM4X, 16, TM4X) // MAX = MIN + LEN - (1 << 16) 1610 // Add (TM4X, 0xffff, TM4X) // For some reason this operation prevents 1611 // at least Linux from determining this 1612 // resource! 1613 ShiftLeft (TM4L, 16, TM4L) 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 1614 1606 1615 1607 ConcatenateResTemplate (CRS, TOM, Local2)
Note:
See TracChangeset
for help on using the changeset viewer.