diff options
author | Pranav V V <pranav.v.v@intel.com> | 2025-09-26 11:34:57 +0300 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-10-03 20:14:30 +0300 |
commit | 5550d8f0b7ce57450a118864470638ced82ce403 (patch) | |
tree | b720a2499c550f8a5d912dded7cb358dc3238a42 /BaseTools/Source/Python/GenFds/Fv.py | |
parent | da44b3b24a448eb8b66f3bf4216353e03fc9ad6a (diff) | |
download | edk2-5550d8f0b7ce57450a118864470638ced82ce403.tar.xz |
ShellPkg: Add PCIe boundary check and enhance DVSEC size calculation
1. Safe wrapper function for DumpHex that validates PCI configuration
space boundaries. This function ensures that hex dumps do not exceed
the standard 4KB PCIe configuration space boundary. If the requested
dump would exceed this boundary, it prints an error message and
truncates the dump size to remain within valid bounds.
2. Enhance DVSEC capability structure size calculation method. Size is
now obtained from the DesignatedVendorSpecificHeader1.Bits.DvsecLength
register.
Issue: https://github.com/tianocore/edk2/issues/11554
Signed-off-by: Pranav V V <pranav.v.v@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/Fv.py')
0 files changed, 0 insertions, 0 deletions