audk/BaseTools/BinWrappers/PosixLike
Pierre Gondois 1549651da6 BaseTools: Script for converting .aml to .hex
The "-tc" option of the iasl compiler allows to generate a
.hex file containing a C array storing AML bytecode.

An online discussion suggested that this "-tc" option
was specific to the iasl compiler and it shouldn't be relied
on. This conversation is available at:
https://edk2.groups.io/g/devel/topic/39786201#49659

A way to address this issue is to implement a compiler
independent script that takes an AML file as input, and
generates a .hex file.

This patch implements a Python script that converts an AML
file to a .hex file, containing a C array storing AML bytecode.
This scipt has been tested with the AML output from the
following compilers supported by the EDKII implementation:
  * Intel ASL compiler
  * Microsoft ASL compiler

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2020-02-06 13:52:11 +00:00
..
AmlToHex BaseTools: Script for converting .aml to .hex 2020-02-06 13:52:11 +00:00
BPDG BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
Brotli BaseTools: Update Brotli and BrotliCompress mode and format 2017-03-31 13:17:00 +08:00
BrotliCompress BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
DevicePath BaseTools: Add DevicePath support for PCD values 2017-12-31 13:10:49 +08:00
Ecc BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
EfiRom BaseTools: Improve shell wrapper for C build commands 2016-01-20 05:12:02 +00:00
GenCrc32 BaseTools: Improve shell wrapper for C build commands 2016-01-20 05:12:02 +00:00
GenDepex BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
GenFds BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
GenFfs BaseTools: Improve shell wrapper for C build commands 2016-01-20 05:12:02 +00:00
GenFv BaseTools: Improve shell wrapper for C build commands 2016-01-20 05:12:02 +00:00
GenFw BaseTools: Improve shell wrapper for C build commands 2016-01-20 05:12:02 +00:00
GenPatchPcdTable BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
GenSec BaseTools: Improve shell wrapper for C build commands 2016-01-20 05:12:02 +00:00
GenerateCapsule BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
LzmaCompress BaseTools: Improve shell wrapper for C build commands 2016-01-20 05:12:02 +00:00
LzmaF86Compress BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
PatchPcdValue BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
Pkcs7Sign BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
Rsa2048Sha256GenerateKeys BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
Rsa2048Sha256Sign BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
Split BaseTools: Improve shell wrapper for C build commands 2016-01-20 05:12:02 +00:00
TargetTool BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
TianoCompress BaseTools: Improve shell wrapper for C build commands 2016-01-20 05:12:02 +00:00
Trim BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
UPT BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
VfrCompile BaseTools: Improve shell wrapper for C build commands 2016-01-20 05:12:02 +00:00
VolInfo BaseTools: Improve shell wrapper for C build commands 2016-01-20 05:12:02 +00:00
build BaseTools: Update PYTHON env to PYTHON_COMMAND 2019-02-01 11:09:23 +08:00
posix_path_env.yaml BaseTools: Add YAML files with path env and tool extdeps 2019-11-11 13:01:53 -08:00