diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-27 17:38:23 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-27 17:38:23 +0100 |
| commit | 1ce16b83dba0326b13dfa3399c1497ac6b1af14d (patch) | |
| tree | 8a5e4063b5d4cf6ce4f42dd500073994e9ef8954 /Private/NewBoot/Source | |
| parent | 6a18e607ffc4e83f2bd953c9de5c14f18e077df8 (diff) | |
Kernel && Developer:
Developer:
- Rework System API to use C instead of C++
- Add new calls in Thread.h
- Documented code.
Kernel:
- Rework handover stage, separated the Processor specific code from
the cross platform code.
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 | ||||
| -rw-r--r-- | Private/NewBoot/Source/download-edk.ps1 | 2 | ||||
| -rw-r--r-- | Private/NewBoot/Source/run-qemu.ps1 | 1 |
3 files changed, 3 insertions, 4 deletions
diff --git a/Private/NewBoot/Source/HEL/AMD64/BootEPM.cxx b/Private/NewBoot/Source/HEL/AMD64/BootEPM.cxx index bd650031..b8df12a0 100644 --- a/Private/NewBoot/Source/HEL/AMD64/BootEPM.cxx +++ b/Private/NewBoot/Source/HEL/AMD64/BootEPM.cxx @@ -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->Kind = kNewFSPartitionTypeBoot; + swapBlock->Kind = kNewFSPartitionTypePage; swapBlock->SectorEnd = MIB(4); /// 4 MIB swap partition. ataInterface->Write(buf, 1); @@ -105,6 +105,6 @@ EXTERN_C Boolean boot_write_newfs_partition(const Char* namePart, SizeT namePart } } - writer.Write(L"NewBoot.exe: Partition found, everything is OK.\r\n"); + writer.Write(L"NewBoot.exe: Partition found, everything's OK.\r\n"); return Yes; }
\ No newline at end of file diff --git a/Private/NewBoot/Source/download-edk.ps1 b/Private/NewBoot/Source/download-edk.ps1 index 744d2c1d..5a2c5f0e 100644 --- a/Private/NewBoot/Source/download-edk.ps1 +++ b/Private/NewBoot/Source/download-edk.ps1 @@ -1,4 +1,4 @@ $client = new-object System.Net.WebClient $output = "$PSScriptRoot\OVMF.fd" -$client.DownloadFile("https://retrage.github.io/edk2-nightly/bin/DEBUGX64_OVMF.fd", $output)
\ No newline at end of file +$client.DownloadFile("https://retrage.github.io/edk2-nightly/bin/DEBUGX64_OVMF.fd", $output) diff --git a/Private/NewBoot/Source/run-qemu.ps1 b/Private/NewBoot/Source/run-qemu.ps1 deleted file mode 100644 index d84c9327..00000000 --- a/Private/NewBoot/Source/run-qemu.ps1 +++ /dev/null @@ -1 +0,0 @@ -qemu-system-x86_64w.exe -net none -smp 2 -m 4G -M q35 -bios OVMF.fd -drive file=fat:rw:CDROM,index=1,format=raw -d int
\ No newline at end of file |
