mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 05:34:31 +02:00
OvmfPkg/QemuKernelLoaderFsDxe: allow longer file names
QEMU_FW_CFG_FNAME_SIZE is 56. 'etc/boot/' prefix is minus 9. Add one for the terminating '\0'. Effective max size is 48. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
20df7c42bd
commit
adf385ecab
@ -33,7 +33,7 @@
|
||||
// Static data that hosts the fw_cfg blobs and serves file requests.
|
||||
//
|
||||
typedef struct {
|
||||
CHAR16 Name[8];
|
||||
CHAR16 Name[48];
|
||||
struct {
|
||||
FIRMWARE_CONFIG_ITEM SizeKey;
|
||||
FIRMWARE_CONFIG_ITEM DataKey;
|
||||
@ -43,7 +43,7 @@ typedef struct {
|
||||
|
||||
typedef struct KERNEL_BLOB KERNEL_BLOB;
|
||||
struct KERNEL_BLOB {
|
||||
CHAR16 Name[8];
|
||||
CHAR16 Name[48];
|
||||
UINT32 Size;
|
||||
UINT8 *Data;
|
||||
KERNEL_BLOB *Next;
|
||||
|
Loading…
x
Reference in New Issue
Block a user