diff options
| author | Amlal <amlal.elmahrouss@icloud.com> | 2025-02-25 20:06:33 +0100 |
|---|---|---|
| committer | Amlal <amlal.elmahrouss@icloud.com> | 2025-02-25 20:06:33 +0100 |
| commit | ee433f2d1b077b51cf5c551111a7ae394e1c4eb1 (patch) | |
| tree | f49847b9dd8efd9c8d5fba59d2d38a79642e51f7 /dev/Boot/BootKit/BootKit.h | |
| parent | 542d6598e623b7d176ae27dd96e860e1572315e7 (diff) | |
ADD: Remove BOOT_BLOCK_STRUCT, replace with EPM_PART_BLOCK.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Boot/BootKit/BootKit.h')
| -rw-r--r-- | dev/Boot/BootKit/BootKit.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<VoidPtr>(const_cast<Char*>(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 |
