Re: iasl

sjb
2003-05-09T17:56:29Z

Ducrot Bruno wrote:

> It should be
>
> If(\_OSI("Windows 2001")) {
>
> and you may have to add:
> extern (\_OSI)
> (but I am not sure if it is OK with latest iasl).
>
> BTW, could you try 'iasl -d mydsdt' in order to disassemble your DSDT, and
> check if 'If (\_OSI ("Windows 2001"))' is correct ?

I did and it appears to produce better output than acpidump ...

It decompiled that "Windows 2001" line correctly as

If (\_OSI ("Windows 2001"))
{
Store (0x04, OSTP)
}

I fixed the "AnyAcc" error, and now all I see is ..

ottaky@vaio:~/acpi> ./iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030424 [May 7 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

dsdt.dsl 1902: Field (PIUC, DWordAcc, Lock, Preserve)
Error 1047 - ^ Access width is greater than
region size

ASL Input: dsdt.dsl - 3047 lines, 101035 bytes, 1552 keywords

The OperationRegion line reads ..

OperationRegion (PIUC, PCI_Config, 0x74, 0x01)

Does that provide enough info?

Thanks for helping out BTW *8-)