]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Add image type into generate map file
authorYunhua Feng <fengyunhua@byosoft.com.cn>
Mon, 9 Nov 2020 08:08:01 +0000 (16:08 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 10 Nov 2020 04:22:27 +0000 (04:22 +0000)
commit76e8aac158b0717fa27f12e4d008f79161ddb050
treefccb6ed3bf331fb637882e127ed8552e8a59830e
parentb96b44feab7aad2b9ae73a3602924b42d148bb03
BaseTools: Add image type into generate map file

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2977

For a source-level BIOS debugger the .map files are quite useful with one
major shortcoming: the debugger cannot know, solely from the .map file,
the format (PE/COFF vs. TE) of the image included in the final BIOS ROM

Add Type=PE or TE in the map file

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Yunhua Feng <fengyunhua@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/C/GenFv/GenFvInternalLib.c