RE: iasl

Moore, Robert
2003-05-09T17:55:51Z

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

The problem is that the region is defined as 0x01 byte, and the field
specifies a minimum access width of Dword (4 bytes).

> -----Original Message-----
> From: sjb [mailto:ottaky-XuTx12Z7TonQT0dZR+AlfA@public.gmane.org]
> Sent: Friday, May 09, 2003 10:56 AM
> To: Ducrot Bruno
> Cc: ACPI List
> Subject: Re: [ACPI] iasl
>
> 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-)
>
> sjb
>
>
>
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise
solutions
> www.enterpriselinuxforum.com
>
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel