summaryrefslogtreecommitdiffhomepage
path: root/Boot/Sources
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-07-09 16:49:29 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-07-09 16:49:29 +0200
commit560a6c233286ec736a7a7c570efc68161c9953be (patch)
tree0c1154e75966870d11204a9d7f91d72943c3ab54 /Boot/Sources
parent631de363c6f353328a358d7c1d50e1781e5402cc (diff)
MHR-36: newoskrnl: Adding support for ARM64 based UEFI machines, (EPM
UEFI) Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Boot/Sources')
-rw-r--r--Boot/Sources/HEL/AMD64/BootMain.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Boot/Sources/HEL/AMD64/BootMain.cxx b/Boot/Sources/HEL/AMD64/BootMain.cxx
index 872aea8e..9faeac7e 100644
--- a/Boot/Sources/HEL/AMD64/BootMain.cxx
+++ b/Boot/Sources/HEL/AMD64/BootMain.cxx
@@ -149,18 +149,18 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle,
kHandoverHeader = handoverHdrPtr;
- GXInit();
+ CGInit();
- GXDraw(RGB(9d, 9d, 9d), handoverHdrPtr->f_GOP.f_Height,
+ CGDrawInRegion(cCGClearClr, handoverHdrPtr->f_GOP.f_Height,
handoverHdrPtr->f_GOP.f_Width, 0, 0);
- GXFini();
+ CGFini();
- GXDrawImg(NewBoot, NEWBOOT_HEIGHT, NEWBOOT_WIDTH,
+ CGDrawBitMapInRegion(NewBoot, NEWBOOT_HEIGHT, NEWBOOT_WIDTH,
(handoverHdrPtr->f_GOP.f_Width - NEWBOOT_WIDTH) / 2,
(handoverHdrPtr->f_GOP.f_Height - NEWBOOT_HEIGHT) / 2);
- GXFini();
+ CGFini();
BS->GetMemoryMap(SizePtr, Descriptor, MapKey, SzDesc, RevDesc);