summaryrefslogtreecommitdiffhomepage
path: root/dev/Boot/src/HEL
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Boot/src/HEL')
-rw-r--r--dev/Boot/src/HEL/AMD64/.gitkeep0
-rw-r--r--dev/Boot/src/HEL/AMD64/BootMain.cc9
-rw-r--r--dev/Boot/src/HEL/ARM64/BootMain.cc4
3 files changed, 6 insertions, 7 deletions
diff --git a/dev/Boot/src/HEL/AMD64/.gitkeep b/dev/Boot/src/HEL/AMD64/.gitkeep
deleted file mode 100644
index e69de29b..00000000
--- a/dev/Boot/src/HEL/AMD64/.gitkeep
+++ /dev/null
diff --git a/dev/Boot/src/HEL/AMD64/BootMain.cc b/dev/Boot/src/HEL/AMD64/BootMain.cc
index 29238413..4609a1d3 100644
--- a/dev/Boot/src/HEL/AMD64/BootMain.cc
+++ b/dev/Boot/src/HEL/AMD64/BootMain.cc
@@ -147,7 +147,7 @@ EFI_EXTERN_C EFI_API Int32 Main(EfiHandlePtr ImageHandle,
FBDrawBitMapInRegion(zka_disk, ZKA_DISK_HEIGHT, ZKA_DISK_WIDTH, (kHandoverHeader->f_GOP.f_Width - ZKA_DISK_WIDTH) / 2, (kHandoverHeader->f_GOP.f_Height - ZKA_DISK_HEIGHT) / 2);
- fb_fini();
+ fb_clear();
UInt32 cnt_enabled = 0;
UInt32 cnt_disabled = 0;
@@ -220,8 +220,7 @@ EFI_EXTERN_C EFI_API Int32 Main(EfiHandlePtr ImageHandle,
Boot::BDiskFormatFactory<BootDeviceATA> partition_factory;
- if (partition_factory.IsPartitionValid() == false &&
- syschk_thread->Start(handover_hdr, NO) == kEfiOk)
+ if (syschk_thread->Start(handover_hdr, NO) != kEfiOk)
{
fb_init();
@@ -232,13 +231,13 @@ EFI_EXTERN_C EFI_API Int32 Main(EfiHandlePtr ImageHandle,
root.fKind = kNeFSCatalogKindDir;
- partition_factory.Format("Zka HD", &root, 1);
+ partition_factory.Format(kMachineModel " HD", &root, 1);
UI::ui_draw_background();
FBDrawBitMapInRegion(zka_has_disk, ZKA_HAS_DISK_HEIGHT, ZKA_HAS_DISK_WIDTH, (kHandoverHeader->f_GOP.f_Width - ZKA_HAS_DISK_WIDTH) / 2, (kHandoverHeader->f_GOP.f_Height - ZKA_HAS_DISK_HEIGHT) / 2);
- fb_fini();
+ fb_clear();
}
// ------------------------------------------ //
diff --git a/dev/Boot/src/HEL/ARM64/BootMain.cc b/dev/Boot/src/HEL/ARM64/BootMain.cc
index fe35ea1b..254301a5 100644
--- a/dev/Boot/src/HEL/ARM64/BootMain.cc
+++ b/dev/Boot/src/HEL/ARM64/BootMain.cc
@@ -10,11 +10,11 @@
#include <BootKit/BootKit.h>
#ifndef kExpectedWidth
-#define kExpectedWidth 844
+#define kExpectedWidth (1280)
#endif
#ifndef kExpectedHeight
-#define kExpectedHeight 390
+#define kExpectedHeight (720)
#endif
EXTERN EfiBootServices* BS;