summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/src/FS
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2025-02-25 20:06:33 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2025-02-25 20:06:33 +0100
commitee433f2d1b077b51cf5c551111a7ae394e1c4eb1 (patch)
treef49847b9dd8efd9c8d5fba59d2d38a79642e51f7 /dev/Kernel/src/FS
parent542d6598e623b7d176ae27dd96e860e1572315e7 (diff)
ADD: Remove BOOT_BLOCK_STRUCT, replace with EPM_PART_BLOCK.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/src/FS')
-rw-r--r--dev/Kernel/src/FS/NeFS.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/Kernel/src/FS/NeFS.cc b/dev/Kernel/src/FS/NeFS.cc
index 29427a2a..75414245 100644
--- a/dev/Kernel/src/FS/NeFS.cc
+++ b/dev/Kernel/src/FS/NeFS.cc
@@ -498,7 +498,7 @@ bool NeFileSystemParser::Format(_Input _Output DriveTrait* drive, _Input const L
// make it bootable when needed.
Char buf_epm[kNeFSSectorSz] = {0};
- BOOT_BLOCK_STRUCT* epm_boot = (BOOT_BLOCK_STRUCT*)buf_epm;
+ EPM_PART_BLOCK* epm_boot = (EPM_PART_BLOCK*)buf_epm;
// Write a new EPM entry.
@@ -549,10 +549,10 @@ bool NeFileSystemParser::Format(_Input _Output DriveTrait* drive, _Input const L
}
else
{
- prevStart = ((BOOT_BLOCK_STRUCT*)buf)->LbaStart + ((BOOT_BLOCK_STRUCT*)buf)->LbaEnd;
+ prevStart = ((EPM_PART_BLOCK*)buf)->LbaStart + ((EPM_PART_BLOCK*)buf)->LbaEnd;
}
- outEpmLba += sizeof(BOOT_BLOCK_STRUCT);
+ outEpmLba += sizeof(EPM_PART_BLOCK);
++cnt;
}
}