From ee433f2d1b077b51cf5c551111a7ae394e1c4eb1 Mon Sep 17 00:00:00 2001 From: Amlal Date: Tue, 25 Feb 2025 20:06:33 +0100 Subject: ADD: Remove BOOT_BLOCK_STRUCT, replace with EPM_PART_BLOCK. Signed-off-by: Amlal --- dev/Boot/BootKit/BootKit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dev/Boot/BootKit/BootKit.h') diff --git a/dev/Boot/BootKit/BootKit.h b/dev/Boot/BootKit/BootKit.h index 4e85ace9..aef84a77 100644 --- a/dev/Boot/BootKit/BootKit.h +++ b/dev/Boot/BootKit/BootKit.h @@ -368,7 +368,7 @@ namespace Boot writer << "sector size: " << part.SectorSize << "\n"; #ifdef BOOTZ_EPM_SUPPORT - BOOT_BLOCK_STRUCT epm_boot{0}; + EPM_PART_BLOCK epm_boot{0}; const auto kFsName = "NeFS"; const auto kBlockName = "OS"; @@ -386,9 +386,9 @@ namespace Boot CopyMem(epm_boot.Magic, reinterpret_cast(const_cast(kEPMMagic)), StrLen(kEPMMagic)); fDiskDev.Leak().mBase = kEPMBootBlockLba; // always always resies at zero block. - fDiskDev.Leak().mSize = sizeof(BOOT_BLOCK_STRUCT); + fDiskDev.Leak().mSize = sizeof(EPM_PART_BLOCK); - fDiskDev.Write((Char*)&epm_boot, sizeof(BOOT_BLOCK_STRUCT)); + fDiskDev.Write((Char*)&epm_boot, sizeof(EPM_PART_BLOCK)); writer.Write(L"BootZ: Drive has been formatted Successfully.\r"); #endif -- cgit v1.2.3