On Mon, Feb 04, 2013 at 02:06:23PM +0800, Bo Yang wrote:
Latest iasl generate .lst as 'number: ' instead of 'number....', then acpi_extrace.py fails to extract any useful information, building fails.
Thanks. What version of the IASL compiler do you see this issue on? Can you provide a text snippet with a line or two from the before and after lst formats?
--- a/tools/acpi_extract.py +++ b/tools/acpi_extract.py @@ -229,11 +229,23 @@ for line in fileinput.input():
[...]
# AML listing: offset in hex, then ...., then code paml = re.compile('^([0-9A-Fa-f]+)\.\.\.\.\s*')
[...]
paml = re.compile('^([0-9A-Fa-f]+):\s\s\s*')
Is there any reason we couldn't just change the original regex to: ^([0-9A-Fa-f]+)(:\s\s|....)\s*
-Kevin