diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-24 14:47:15 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-24 14:47:15 +0100 |
| commit | 3796780438de17a5da38f1d5a6845942c27c0e5c (patch) | |
| tree | 1740ca03d02ba713643edfdccd746bbe5bb13438 | |
| parent | 2a1e69c1fe299d6e2f03cb5ebc78e27de87d0662 (diff) | |
Bootloader: remove weird subsystem check.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
| -rw-r--r-- | Private/NewBoot/Source/BootMain.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Private/NewBoot/Source/BootMain.cxx b/Private/NewBoot/Source/BootMain.cxx index eed6bf60..c2ee87e3 100644 --- a/Private/NewBoot/Source/BootMain.cxx +++ b/Private/NewBoot/Source/BootMain.cxx @@ -90,13 +90,6 @@ EFI_EXTERN_C EFI_API Int EfiMain(EfiHandlePtr ImageHandle, ExecOptionalHeaderPtr optHdr = reinterpret_cast<ExecOptionalHeaderPtr>( ptrHdr + sizeof(ExecHeader)); - if (optHdr->mSubsystem != 0xAFAF) { - writer.WriteString(L"HCoreLdr: This is not an HCore app: Subsystem: ") - .WriteString(optHdr->mSubsystem) - .WriteString(L"\r\n"); - EFI::Stop(); - } - UInt32 MapKey = 0; UInt32* Size; EfiMemoryDescriptor* Descriptor; |
