This happens when you copy/paste code from web pages
from 2690 to 2745 are some special chars (invisible) at the beginning of each line (before the normal text) !
2691 If (LNot (PICF))
You can simple remove all that non visible chars(looks like spaces) text on each line.
You must not add spaces or tab again. Buts better readable.
Here result as i removed that chars (from c&p web code) :
ASL Input: dsdt.dsl - 5925 lines, 197183 bytes, 2383 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 31 Optimizations
Only one error left !
YOur dsdt has also , as mine that min/max Range vs length error !
Check line and before:
589: 0xFFF00000, // Length
Error 4117 - Length is larger than Min/Max window ^
Do same as i, check min/max Range with given length. formula: maxRange - minRange + 1 = length
SOLUTION as example for my length value error - calc your own lenght !!!I looked at that code in my dsdl with the length errorDWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,0x00000000, // Granularity0x00100000, // Range Minimum0xFEBFFFFF, // Range Maximum0x00000000, // Translation Offset0xFFF00000, // Length WRONG ERROR !!!,, _Y00, AddressRangeMemory, TypeStatic)compared to other similar DwordMem code in area around... i can see indeed an wrong lenght here !!!Here no min/max/length error !DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,0x00000000, // Granularity0x000C0000, // Range Minimum0x000DFFFF, // Range Maximum0x00000000, // Translation Offset0x00020000, // Length = OK, no error ,, , AddressRangeMemory, TypeStatic)For my looking(+ thinking ) the diff of Range Max / Range Min added 1 (must) give the Length which new iasl checks .0x000DFFFF, // Range Maximum- 0x000C0000, // Range Minimum------------------0x1FFFF + 1 = 0x00020000, // LengthIn case of my error :0xFEBFFFFF, // Range Maximum- 0x00100000, // Range Minimum---------------------0xFEAFFFFF+1 = 0xFEB00000 insted of (error message) 0xFFF00000, // Length
Use calulator (OS X app) in programmers mode to do that calc in hex (16). Dont use my length value, because yours may different !
I attatched the removed chars dsdt, but length must be edited / undone !