summaryrefslogtreecommitdiffhomepage
path: root/dev/ZBA
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-26 04:07:14 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-26 04:16:24 +0200
commitff94ce367f7f23e3a78f157f9420c480a4d7f9aa (patch)
treefc87ecd1ccf3de317db4214fe6460e324a5e76e4 /dev/ZBA
parentb98a81f4f26b4da98f2ac760763af656f95f392b (diff)
[IMP] DLLInterface class and also reworked SCI's API.
[IMP] Handover now gives the kernel image, for the OS. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZBA')
-rw-r--r--dev/ZBA/Sources/HEL/AMD64/BootMain.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx b/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx
index 9cdaf603..cd18d34a 100644
--- a/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx
+++ b/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx
@@ -253,6 +253,9 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle,
// If we succeed in reading the blob, then execute it.
// ------------------------------------------ //
+ handoverHdrPtr->f_HardwareTables.f_ImagePtr = readerKernel.Blob();
+ handoverHdrPtr->f_HardwareTables.f_ImageSz = readerKernel.Size();
+
if (readerKernel.Blob())
{
loader = new Boot::BThread(readerKernel.Blob());