diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-09-07 19:30:50 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-09-07 19:30:50 +0200 |
| commit | 82e5b65b604c0cc74e82a366ba53df8b68d3ed3d (patch) | |
| tree | 1aa91b3823e1b3f892b9dce0c92660a7159ae1bf /dev/ZBA/Sources | |
| parent | 5f9761218b0ef9727574aed0dccb482a3d008e66 (diff) | |
[dev/HPFS] Include EBS header after EPM.
[dev/ZBA] Rename ZKA (A:) to FileSystem (A:)
[dev/INST] Updated it.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'dev/ZBA/Sources')
| -rw-r--r-- | dev/ZBA/Sources/HEL/AMD64/BootMain.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx b/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx index 3e78414c..1b09e63f 100644 --- a/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx +++ b/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx @@ -128,6 +128,10 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle, handoverHdrPtr->f_GOP.f_PixelFormat = kGop->Mode->Info->PixelFormat; handoverHdrPtr->f_GOP.f_Size = kGop->Mode->FrameBufferSize; + // ------------------------------------------- // + // Grab MP services, extended to runtime. // + // ------------------------------------------- // + auto guid_mp = EfiGUID(EFI_MP_SERVICES_PROTOCOL_GUID); EfiMpServicesProtocol* mp = nullptr; @@ -149,7 +153,7 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle, mp->GetNumberOfProcessors(mp, &cnt_disabled, &cnt_enabled); CGDrawString("NEWOSLDR (C) ZKA TECHNOLOGIES.", 10, 10, RGB(0xFF, 0xFF, 0xFF)); - CGDrawString((cnt_enabled > 1) ? "MULTIPROCESSOR SYSTEM." : "UNIPROCESSOR SYSTEM.", 20, 10, RGB(0xFF, 0xFF, 0xFF)); + CGDrawString((cnt_enabled > 1) ? "MULTIPLE PROCESSORS DETECTED." : "SINGLE PROCESSOR DETECTED.", 20, 10, RGB(0xFF, 0xFF, 0xFF)); handoverHdrPtr->f_HardwareTables.f_MultiProcessingEnabled = cnt_enabled > 1; // Fill handover header now. @@ -170,7 +174,7 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle, root.fKind = kNeFSCatalogKindDir; - checkPart.Format("ZKA (A:)", &root, 1); + checkPart.Format("FileSystem (A:)", &root, 1); rt_reset_hardware(); } @@ -180,7 +184,7 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle, Descriptor = new EfiMemoryDescriptor[SzDesc]; BS->GetMemoryMap(&SizePtr, Descriptor, &MapKey, &SzDesc, &RevDesc); - auto cDefaultMemoryMap = 0; // The sixth entry. + auto cDefaultMemoryMap = 0; // Grab any usable entries. //-----------------------------------------------------------// // A simple loop which finds a usable memory region for us. |
