audk/BaseTools/Scripts
Kinney, Michael D aedd1559cc BaseTools/BinToPcd: Add support for multiple binary input files
https://bugzilla.tianocore.org/show_bug.cgi?id=890

There are use cases where a VOID * PCD needs to be generated from multiple
binary input files.  This can be in the form of an array of fixed size
elements or a set of variable sized elements.

Update BinToPcd to support multiple one or more -i INPUTFILE arguments.
By default, the contents of each binary input file are concatenated in
the order provided.  This supports generating a PCD that is an array of
fixed size elements

Add -x, --xdr flags to BinToPcd  to encodes the PCD using the
Variable-Length Opaque Data of RFC 4506 External Data Representation
Standard (XDR).

    https://tools.ietf.org/html/rfc4506
    https://tools.ietf.org/html/rfc4506#section-4.10

The data format from RFC 4506 meets the requirements for a PCD that is a
set of variable sized elements in the Variable-Length Opaque Data format.
The overhead of this format is a 32-bit length and 0 to 3 bytes of padding
to align the next element at a 32-bit boundary.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
2018-03-28 08:51:15 -07:00
..
PackageDocumentTools BaseTools: Add PackageDocumentTools into Scripts folder 2018-03-19 09:19:36 +08:00
BinToPcd.py BaseTools/BinToPcd: Add support for multiple binary input files 2018-03-28 08:51:15 -07:00
ConvertMasmToNasm.py BaseTools ConvertMasmToNasm: Don't try to reconvert .nasm files 2016-06-28 13:16:53 -07:00
ConvertUni.py BaseTools/Scripts: Add ConvertUni.py script 2015-12-15 04:50:50 +00:00
GccBase.lds BaseTools/Scripts: fix GccBase.lds line endings 2017-05-28 12:07:02 +00:00
MemoryProfileSymbolGen.py BaseTools MemoryProfileSymbolGen.py: Handle 64bits rva from "nm -l xxx.dll" 2016-07-05 17:25:38 +08:00
PatchCheck.py BaseTools/PatchCheck: Support Contribution Agreement 1.1 2017-08-03 11:01:46 -07:00
RunMakefile.py BaseTools/Scripts: Add python script to run a makefile 2017-08-11 11:21:04 -07:00
RunMakefileSample.mak BaseTools/Scripts: Add sample makefile for use with RunMakefile.py 2017-08-11 11:28:35 -07:00
Rvct-Align4K.sct BaseTools RVCT: use scatter file to enforce minimum section alignment 2015-12-14 07:55:46 +00:00
Rvct-Align32.sct BaseTools RVCT: use scatter file to enforce minimum section alignment 2015-12-14 07:55:46 +00:00
SetVisualStudio.bat BaseTools: Update Scripts to support VS2015 env 2015-12-22 01:01:54 +00:00
ShowEnvironment.bat BaseTools: Update Scripts to support VS2015 env 2015-12-22 01:01:54 +00:00
SmiHandlerProfileSymbolGen.py BaseTool/Script: Add SmiHandleProfile OS tool to get symbol. 2017-02-22 15:28:22 +08:00
UpdateBuildVersions.py 1. Update UpdateBuildVersion.py; 2015-02-06 03:40:27 +00:00