audk/BaseTools/Source/C/Include
Huang, Li-Xia 414cd2a4d5 BaseTools/GenFw: Enhance GenFw to support PRM GCC build
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3802

Since PRM module needs to support export table in PE-COFF, we'll
enhance GenFw tool to support this.

Add one export flag in GenFw tool. If export flag is set:
Step1: Scan ELF symbol table based on PRM module descriptor to get
descriptor offset address;
Step2: Find PRM handlers number and name in COFF file based on the
address from step1;
Step3: Write PRM info such as handler name and export RVA into COFF
export table.

PRM option currently only supports DXE RUNTIME driver and X64 arch.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Lixia Huang <lisa.huang@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2022-03-16 07:48:26 +00:00
..
AArch64 BaseTools: use stdint.h for GCC ProcessorBind.h typedefs 2019-10-01 10:55:38 +01:00
Arm BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Common BaseTools: Copy PACKED definition from MdePkg Base.h 2020-10-10 05:43:11 +00:00
Guid BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Ia32 BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
IndustryStandard BaseTools/GenFw: Enhance GenFw to support PRM GCC build 2022-03-16 07:48:26 +00:00
Protocol BaseTools: Bootable NVDIMM namespaces 2020-05-15 05:05:52 +00:00
RiscV64 BaseTools: Add RISCV64 binding 2020-09-29 03:31:56 +00:00
X64 BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00