mirror of
https://github.com/platomav/BIOSUtilities.git
synced 2025-05-13 14:44:46 -04:00
Replace contents of no longer relevant comment
This commit is contained in:
parent
5d5dc5828b
commit
71cbfdaf8b
1 changed files with 1 additions and 1 deletions
|
@ -904,7 +904,7 @@ def parse_pfat_pfs(entry_hdr, entry_data, padding=0, structure=True):
|
||||||
block_data_gap = block_start - block_start_exp
|
block_data_gap = block_start - block_start_exp
|
||||||
if block_data_gap > 0:
|
if block_data_gap > 0:
|
||||||
printer(f'Warning: Filled sub-PFS PFAT {block_index} data gap 0x{block_data_gap:X} [0x{block_start_exp:X}-0x{block_start:X}]!', padding + 8)
|
printer(f'Warning: Filled sub-PFS PFAT {block_index} data gap 0x{block_data_gap:X} [0x{block_start_exp:X}-0x{block_start:X}]!', padding + 8)
|
||||||
total_pfat_data += b'\xFF' * block_data_gap # The sub-PFS PFAT Entry expected Start is the previous Offset + Size
|
total_pfat_data += b'\xFF' * block_data_gap # Use 0xFF padding to fill in data gaps in PFAT UEFI firmware images
|
||||||
|
|
||||||
total_pfat_data += block_data # Append sorted sub-PFS PFAT Entry payload/data
|
total_pfat_data += block_data # Append sorted sub-PFS PFAT Entry payload/data
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue