Changeset 17617 in vbox
- Timestamp:
- Mar 10, 2009 11:10:12 AM (16 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Makefile.kmk
r17440 r17617 391 391 $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $< 392 392 393 vboxaml.hex:: $$(PATH_DevicesR3)/vboxaml.hex 394 395 393 396 # For finding PCIInternal.h from VBox/pci.h. 394 397 Bus/DevPCI.cpp_INCS = Bus -
trunk/src/VBox/Devices/PC/vbox.dsl
r17590 r17617 896 896 ReadWrite, 897 897 0x0000000000000000, // _GRA: Granularity. 898 0 x0000000100000000, // _LEN: Min address, 4GB.899 0 x00000fffffffffff,// _MAX: Max possible address, 16TB.898 0 /*0x0000000100000000*/, // _MIN: Min address, 4GB. 899 0 /*0x00000fffffffffff*/, // _MAX: Max possible address, 16TB. 900 900 0x0000000000000000, // _TRA: Translation 901 901 0x0000000000000000, // _LEN: Range length (calculated dynamically) … … 910 910 CreateDwordField (CRS, \_SB.PCI0.MEM3._MIN, RAMT) 911 911 CreateDwordField (CRS, \_SB.PCI0.MEM3._LEN, RAMR) 912 CreateDwordField (TOM, \_SB.PCI0.MEM4._LEN, TM4L) 912 CreateQwordField (TOM, \_SB.PCI0.MEM4._LEN, TM4L) 913 CreateQwordField (TOM, \_SB.PCI0.MEM4._LEN, TM4N) 914 CreateQwordField (TOM, \_SB.PCI0.MEM4._LEN, TM4X) 913 915 914 916 Store (MEML, RAMT) … … 922 924 // (MEMH is the memory above 4GB specified in 64KB units.) 923 925 // 924 ShiftLeft (MEMH, 16, Local0) 925 Store (Local0, TM4L) 926 ConcatenateResTemplate (CRS, TOM, Local1) 927 Return (Local1) 926 // Note: ACPI v2 doesn't do 32-bit integers. IASL may fail on 927 // seeing 64-bit constants and the code probably wont work. 928 // 929 Store (1, TM4N) 930 ShiftLeft (TM4N, 32, TM4N) 931 932 Store (0x00000fff, TM4X) 933 ShiftLeft (TM4X, 32, TM4X) 934 Or (TM4X, 0xffffffff, TM4X) 935 936 Store (MEMH, TM4L) 937 ShiftLeft (TM4L, 16, TM4L) 938 939 ConcatenateResTemplate (CRS, TOM, Local2) 940 Return (Local2) 928 941 } 929 942
Note:
See TracChangeset
for help on using the changeset viewer.