Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2002 14:04:35 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        "Moore, Robert" <robert.moore@intel.com>
Cc:        'Mitsuru IWASAKI' <iwasaki@jp.FreeBSD.org>, yb@sainte-barbe.org, acpi-jp@jp.FreeBSD.org, current@freebsd.org, "Grover, Andrew" <andrew.grover@intel.com>
Subject:   Re: [acpi-jp 1735] Re: Call for testers: acpica-unix-20020815
Message-ID:  <3D6BE963.363EF4A6@mindspring.com>
References:  <B9ECACBD6885D5119ADC00508B68C1EA0D19B718@orsmsx107.jf.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help

"Moore, Robert" wrote:
> This looks like the (in)famous "implicit return" problem that is in some
> Toshiba ASL files.
> 
>                 Method(_CRS) {
>                     CRS_(0x10)
>                 }
> 
> This does NOT actually return a value and the ASL code is incorrect.  It has
> to be:
> 
>                 Method(_CRS) {
>                     Return (CRS_(0x10))
>                 }
> 
> The iASL compiler generates warnings for all instances of this erroneous
> code.


Is there any way to add a "-s" for "strict" option to the iASL compiler,
in which it generates warnings for this code... but in the absence
of the option, simply pretends it saw the "Return", since it knows
that that's the problem anyway, and is just being bitchy by warning
about it instead of warning, but also taking the appropriate corrective
action for this case?

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D6BE963.363EF4A6>