diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-06-23 00:59:10 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-06-23 00:59:10 +0200 |
| commit | 65e428a5a2b4eac24cccf5defe64d52faba8304d (patch) | |
| tree | d23b304abce67455853d355ceb4d65f73d93ded9 /Boot/Sources | |
| parent | 9899e5d07f9010a874ed64c586508479f0a353c4 (diff) | |
Kernel: See below.
MHR-35: Implement it.
Kernel: Write EPM header at sector 0.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Boot/Sources')
| -rw-r--r-- | Boot/Sources/HEL/AMD64/BootMain.cxx | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/Boot/Sources/HEL/AMD64/BootMain.cxx b/Boot/Sources/HEL/AMD64/BootMain.cxx index 145bdadb..6591f61e 100644 --- a/Boot/Sources/HEL/AMD64/BootMain.cxx +++ b/Boot/Sources/HEL/AMD64/BootMain.cxx @@ -89,21 +89,15 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle, /// Splash screen stuff writer.Write(L"Zeta Electronics Corporation (R) newosldr: ") - .Write(BVersionString::The()); + .Write(BVersionString::The()).Write("\r"); - if (SystemTable->FirmwareVendor[0] != '\\' || - SystemTable->FirmwareVendor[1] != 'E' || - SystemTable->FirmwareVendor[2] != 'P' || - SystemTable->FirmwareVendor[3] != 'M') - { - writer.Write(L"\rnewosldr: vendor: ") - .Write(SystemTable->FirmwareVendor) - .Write(L" isn't supported.\r"); +#ifndef __DEBUG__ + writer.Write(L"\rnewosldr: AMD64 is only supported in debug mode.\r"); - EFI::Stop(); + EFI::Stop(); - CANT_REACH(); - } + CANT_REACH(); +#endif UInt32* MapKey = new UInt32(); UInt32* SizePtr = new UInt32(); |
