Voodooprojects
Chameleon => Bug Reports => Topic started by: rphilipson on January 20, 2012, 08:31:55 PM
-
I believe the code to calculate the package length values is incorrect in aml_generator.c - specifically in the functions:
aml_write_size and aml_get_size_length. The issue is that the values at which an extra byte is determined to be needed are incorrect.
Within the Intel ASL compiler sources you can see the correct algorithm in: compiler/asllength.c
I am also attaching what I believe is fixed code in a C file.
-
You are right.
Thank you, will implement the patch.