summaryrefslogtreecommitdiffhomepage
path: root/Private/NewBoot
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 22:49:49 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 22:53:45 +0100
commitd562c97291a69d1ce73e89ba300209a49d419173 (patch)
tree7ee625bb1ef115f3fae9cf60e0586880dc8ba3c7 /Private/NewBoot
parentb2c7b8604ed3a4c209a15a9ffd718a43163dd9b4 (diff)
Extend Swap HD from 4MIB to 16MIB, Made SystemLib purely C, added SystemCxxLib for that occasion.
Update Framebuffer include to define the color utils inside the C++ source file. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/NewBoot')
-rw-r--r--Private/NewBoot/Source/HEL/AMD64/BootEPM.cxx4
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 da8e6107..0d1d4086 100644
--- a/Private/NewBoot/Source/HEL/AMD64/BootEPM.cxx
+++ b/Private/NewBoot/Source/HEL/AMD64/BootEPM.cxx
@@ -73,7 +73,7 @@ EXTERN_C Boolean boot_write_newfs_partition(const Char* namePart, SizeT namePart
}
partBlock->SectorSz = kATASectorSize;
- partBlock->SectorStart = kEPMStartPartition + MIB(4);
+ partBlock->SectorStart = kEPMStartPartition + MIB(16);
partBlock->Version = kNewFSVersionInteger;
partBlock->Kind = kNewFSPartitionTypeStandard;
partBlock->SectorEnd = 0; /// grows on the disk.
@@ -97,7 +97,7 @@ EXTERN_C Boolean boot_write_newfs_partition(const Char* namePart, SizeT namePart
swapBlock->SectorStart = kEPMStartPartition;
swapBlock->Version = kNewFSVersionInteger;
swapBlock->Kind = kNewFSPartitionTypePage;
- swapBlock->SectorEnd = MIB(4); /// 4 MIB swap partition.
+ swapBlock->SectorEnd = MIB(16); /// 4 MIB swap partition.
ataInterface->Write(buf, 1);