From 544d0cadfc371bcfb54d9f7ec15464bc6a79af21 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 13 Feb 2024 17:24:41 +0100 Subject: HCR-17: Boot: Add build date. Signed-off-by: Amlal El Mahrouss --- Private/NewBoot/Source/RuntimeMain.cxx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Private/NewBoot/Source/RuntimeMain.cxx b/Private/NewBoot/Source/RuntimeMain.cxx index a6e4015c..3c55c06b 100644 --- a/Private/NewBoot/Source/RuntimeMain.cxx +++ b/Private/NewBoot/Source/RuntimeMain.cxx @@ -27,16 +27,24 @@ EFI_EXTERN_C EFI_API Int EfiMain(EfiHandlePtr ImageHandle, #ifndef __DEBUG__ writer.WriteString( - L"MahroussLogic (R) HCore Version 1.0.0 (Release Channel)\r\n"); + L"MahroussLogic (R) HCore Version 1.00 (Release Channel)\r\n"); #else writer.WriteString( - L"MahroussLogic (R) HCore Version 1.0.0 (Insiders Channel)\r\n"); + L"MahroussLogic (R) HCore Version 1.00 (Insiders Channel)\r\n"); #endif - writer.WriteString(L"HCoreLdr: Firmware Vendor: ") + const char strDate[] = __DATE__; + + writer.WriteString(L"Build Date: "); + + for (auto& ch : strDate) { + writer.WriteCharacter(ch); + } + + writer.WriteString(L"\r\nHCoreLdr: Firmware Vendor: ") .WriteString(SystemTable->FirmwareVendor) .WriteString(L"\r\n"); -- cgit v1.2.3