diff options
author | Sebastien Boeuf <sebastien.boeuf@intel.com> | 2022-03-02 21:31:30 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-03-04 02:41:57 +0000 |
commit | b909b4ad097080f865cbb7caae4cca101c0fe96c (patch) | |
tree | 429290a9850284df3324c3949dd0c9b202e96c4c /BaseTools/Source/Python | |
parent | 589d51df260465e2561979b8a988e77b0f32a6e8 (diff) | |
download | edk2-b909b4ad097080f865cbb7caae4cca101c0fe96c.zip edk2-b909b4ad097080f865cbb7caae4cca101c0fe96c.tar.gz edk2-b909b4ad097080f865cbb7caae4cca101c0fe96c.tar.bz2 |
OvmfPkg: Make the Xen ELF header generator more flexible
Adding some flexibility to the program through optional parameters and
global define, so that other targets can use the generator.
* A global define is added so that we can choose at build time if we
want to use 32-bit or 64-bit base structures.
* A first optional parameter is added so the user can provide the
expected blob size of the generated binary.
* A second optional parameter is added so the user can specify an output
file to which the generated output will be printed.
The default behavior isn't modified.
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions