summaryrefslogtreecommitdiffhomepage
path: root/Private/NewBoot/Source
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-04-28 15:12:50 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-04-28 15:12:50 +0200
commit38dbf64f9007cd6104c63989b9b8311d4d1ffd76 (patch)
tree5ee5d9fc3ef612fb164f3a4a4ddc95621740d2b7 /Private/NewBoot/Source
parentb608517c047f7e4f7d7d70af7db76b0e9b0873b0 (diff)
MHR-18: Support parent directories inside format class.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/NewBoot/Source')
-rw-r--r--Private/NewBoot/Source/HEL/AMD64/BootMain.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Private/NewBoot/Source/HEL/AMD64/BootMain.cxx b/Private/NewBoot/Source/HEL/AMD64/BootMain.cxx
index 12d34232..2939c182 100644
--- a/Private/NewBoot/Source/HEL/AMD64/BootMain.cxx
+++ b/Private/NewBoot/Source/HEL/AMD64/BootMain.cxx
@@ -173,6 +173,7 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle,
rootDesc.fBlobSz = BootDeviceATA::kSectorSize;
rootDesc.fBlob = new Char[rootDesc.fBlobSz];
+ rootDesc.fParent = &rootDesc;
memset(rootDesc.fBlob, 0, rootDesc.fBlobSz);
@@ -190,6 +191,7 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle,
bootDesc.fBlobSz = BootDeviceATA::kSectorSize;
bootDesc.fBlob = new Char[bootDesc.fBlobSz];
+ bootDesc.fParent = &rootDesc;
memset(bootDesc.fBlob, 0, bootDesc.fBlobSz);
@@ -208,6 +210,7 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle,
appDesc.fBlobSz = BootDeviceATA::kSectorSize;
appDesc.fBlob = new Char[appDesc.fBlobSz];
+ appDesc.fParent = &rootDesc;
memset(appDesc.fBlob, 0, appDesc.fBlobSz);