Dana.Myers at Sun.COM <mailto:Dana.Myers at Sun.COM> wrote:
> Li, Aubrey wrote:
>> Dana.Myers wrote:
>> 
>> 
>>> Li, Aubrey wrote:
>>> 
>>>> Dana.Myers wrote:
>>>> 
>>>> 
>>>> 
>>>>> #2.  Why is YCST apparently not returning a valid Package object?
>>>>> 
>>>>> 
>>>> This looks more interesting to me, now it seems to be ACPICA bug,
>>>> ;) 
>>>> 
>>>> 
>>> It's a BIOS bug, I'm fairly confident at this point :-)  You're
>>> just messing with me, aren't you? 
>>> 
>>>> Because whatever the value of \_SB.MEM.CFGD is, there must be a
>>>> block matched with Local0 and return a package.
>>>> 
>>>> 
>>> Yup.
>>> 
>> 
>> No, I'm serious. If YCST returns a package, why AcpiEvaluateObject()
>> returned buffer Length == 0? 
>> 
> Because YCST is returning no value, is my guess - I believe
> none of the if () conditions are true, and nothing is returned.
According to the dsl, all possible paths have been covered in YCST,
that is 
switch (val & 0x70) {
case 0x00:
case 0x10:
case 0x20:
case 0x40:
case 0x30:
case 0x50:
case 0x60:
case 0x70:
}

So it seems strange.

> 
> Dana

Liu Jiang (Gerry)
OpenSolaris, OTC, SSG, Intel

Reply via email to