diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-27 08:35:15 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-27 08:35:15 +0100 |
| commit | 6a18e607ffc4e83f2bd953c9de5c14f18e077df8 (patch) | |
| tree | c4fe27391a237361b2cfc3c59a88f28240e20461 /Private/NewBoot/Source | |
| parent | 3ba0a4aea3d57c67f316b183ca1efb2f6a3e5ee8 (diff) | |
Kernel: Update System API, add prefix to functions.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/NewBoot/Source')
| -rw-r--r-- | Private/NewBoot/Source/HEL/AMD64/BootEPM.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Private/NewBoot/Source/HEL/AMD64/BootEPM.cxx b/Private/NewBoot/Source/HEL/AMD64/BootEPM.cxx index 871f35a3..bd650031 100644 --- a/Private/NewBoot/Source/HEL/AMD64/BootEPM.cxx +++ b/Private/NewBoot/Source/HEL/AMD64/BootEPM.cxx @@ -75,7 +75,7 @@ EXTERN_C Boolean boot_write_newfs_partition(const Char* namePart, SizeT namePart partBlock->SectorSz = kATASectorSize; partBlock->SectorStart = kEPMStartPartition + MIB(4); partBlock->Version = kNewFSVersionInteger; - partBlock->Type = kNewFSPartitionTypeStandard; + partBlock->Kind = kNewFSPartitionTypeStandard; partBlock->SectorEnd = 0; /// grows on the disk. PartitionBlock* swapBlock = (PartitionBlock*)(buf + sizeof(BootBlock) + sizeof(PartitionBlock)); @@ -96,7 +96,7 @@ EXTERN_C Boolean boot_write_newfs_partition(const Char* namePart, SizeT namePart swapBlock->SectorSz = kATASectorSize; swapBlock->SectorStart = kEPMStartPartition; swapBlock->Version = kNewFSVersionInteger; - swapBlock->Type = kNewFSPartitionTypeBoot; + swapBlock->Kind = kNewFSPartitionTypeBoot; swapBlock->SectorEnd = MIB(4); /// 4 MIB swap partition. ataInterface->Write(buf, 1); |
