Jump to content
  • 0
Sign in to follow this  
TpwUK

DSDT Min/Max Window broken

Question

                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x02000000,         // Range Minimum
                    0xFFDFFFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0xFDFC0000,         // Length
                    ,, _Y04, AddressRangeMemory, TypeStatic)

The error produced by the above code snippet is that Length is larger than the Min/Max Window.
My understanding of this would be to add Min Range and Max Range to obtain the length. In this case that produces an oversized value breaking the limitation of the DWord size boundary, would i be right to assume that the minimum value should have been set to 0x00020000 ?
This way it would stay within DWordMmemory size boundaries. In my old assembler days, there was an overflow bit that was activated by such things and one would check for that and take the appropriate steps, being a newb at DSDT editing I have no idea which method the BIOS would use. Any help would be greatly appreciated.

 

Martin

 

Hmmm well i tried subtracting the two and i get a different error again .... Length Not Equal to Min/Max Window so now i am even more confused than when i started :/

 

Ha, found it .... Subtract MinRange from MaxRange + 1 = Length .... :)

 

 

Edited by TpwUK
Resolved

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.