[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for-4.11] libacpi: fixes for iasl >= 20180427
On 09/05/18 11:08, Roger Pau Monne wrote: > New versions of iasl have introduced improved C file generation, as > reported in the changelog: > > iASL: Enhanced the -tc option (which creates an AML hex file in C, > suitable for import into a firmware project): > 1) Create a unique name for the table, to simplify use of multiple > SSDTs. > 2) Add a protection #ifdef in the file, similar to a .h header file. > > The net effect of that on generated files is: > > -unsigned char AmlCode[] = > +#ifndef __SSDT_S4_HEX__ > +#define __SSDT_S4_HEX__ > + > +unsigned char ssdt_s4_aml_code[] = > > The above example is from ssdt_s4.asl. > > Fix the build with newer versions of iasl by stripping the '_aml_code' > suffix from the variable name on generated files. > > Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> > --- > Cc: Jan Beulich <jbeulich@xxxxxxxx> > Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> > Cc: Wei Liu <wei.liu2@xxxxxxxxxx> > Cc: Juergen Gross <jgross@xxxxxxxx> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |