summaryrefslogtreecommitdiffhomepage
path: root/dev/Boot/BootKit/BootKit.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-31 19:05:36 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-31 19:05:36 +0100
commitd0c7a3e05a1bb5c9cffd1a0946e403d3a8e37e63 (patch)
tree686f7f3c99a08a7bebfc925839f0f9d882177c54 /dev/Boot/BootKit/BootKit.h
parent9c1e80e1bb3a8d549a9053f0d7bf4afb0c806f80 (diff)
Match the changes in OpenNE, (without reusing it)
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Boot/BootKit/BootKit.h')
-rw-r--r--dev/Boot/BootKit/BootKit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/Boot/BootKit/BootKit.h b/dev/Boot/BootKit/BootKit.h
index 5a537448..81f0796a 100644
--- a/dev/Boot/BootKit/BootKit.h
+++ b/dev/Boot/BootKit/BootKit.h
@@ -218,7 +218,7 @@ namespace Boot
~BDiskFormatFactory() = default;
- ZKA_COPY_DELETE(BDiskFormatFactory);
+ NE_COPY_DELETE(BDiskFormatFactory);
/// @brief Format disk using partition name and blob_list.
/// @param Partition part_name the target partition name.
@@ -332,7 +332,7 @@ namespace Boot
{
fb_init();
- FBDrawBitMapInRegion(zka_no_disk, ZKA_NO_DISK_WIDTH, ZKA_NO_DISK_HEIGHT, (kHandoverHeader->f_GOP.f_Width - ZKA_NO_DISK_WIDTH) / 2, (kHandoverHeader->f_GOP.f_Height - ZKA_NO_DISK_HEIGHT) / 2);
+ FBDrawBitMapInRegion(zka_no_disk, NE_NO_DISK_WIDTH, NE_NO_DISK_HEIGHT, (kHandoverHeader->f_GOP.f_Width - NE_NO_DISK_WIDTH) / 2, (kHandoverHeader->f_GOP.f_Height - NE_NO_DISK_HEIGHT) / 2);
EFI::ThrowError(L"Drive-Too-Tiny", L"Can't format a NeFS partition here.");
return false;
}