summaryrefslogtreecommitdiffhomepage
path: root/Private/NewBoot/Source
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-01 17:08:13 +0000
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-01 17:08:13 +0000
commit5c59cd35a2fa3e620542b73e8c3f66f0dccd241c (patch)
tree985e7e39fd9657ceb45ab292f6a934e0e6d4571b /Private/NewBoot/Source
parent6c4cc0dba681fef1cef3c31877653a1d6413fc90 (diff)
parent6ce7dffe92775f262384a028af233999a7d18048 (diff)
Merge branch 'HCR-9-add-support-for-file-load-hel-amd64' into 'trunk'
See below. See merge request mahrouss-logic/micro-kernel!2
Diffstat (limited to 'Private/NewBoot/Source')
-rw-r--r--Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx4
-rw-r--r--Private/NewBoot/Source/compile_flags.txt3
-rw-r--r--Private/NewBoot/Source/makefile2
3 files changed, 7 insertions, 2 deletions
diff --git a/Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx b/Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx
index d1d230b6..d06338b5 100644
--- a/Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx
+++ b/Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx
@@ -19,7 +19,9 @@ EFI_EXTERN_C int EfiMain(EfiHandlePtr ImageHandle,
KeInitEFI(SystemTable);
BTextWriter writer;
- writer.WriteString(L"HCoreLdr: Booting from \\Volume0\\...")
+ writer.WriteString(L"HCoreLdr: Firmware: ")
+ .WriteString(SystemTable->FirmwareVendor)
+ .WriteString(L"\r\nHCoreLdr: Booting on \\Volume0\\ (FAT32)")
.WriteString(L"\r\n");
UInt64 mapKey = 0;
diff --git a/Private/NewBoot/Source/compile_flags.txt b/Private/NewBoot/Source/compile_flags.txt
new file mode 100644
index 00000000..e58d7ab9
--- /dev/null
+++ b/Private/NewBoot/Source/compile_flags.txt
@@ -0,0 +1,3 @@
+-std=c++20
+-I../
+-I../../
diff --git a/Private/NewBoot/Source/makefile b/Private/NewBoot/Source/makefile
index 4193f12d..f10a4194 100644
--- a/Private/NewBoot/Source/makefile
+++ b/Private/NewBoot/Source/makefile
@@ -14,7 +14,7 @@ invalid-recipe:
.PHONY: bootloader-amd64
bootloader-amd64:
- $(CC_GNU) $(FLAG_GNU) HEL/AMD64/*.cxx
+ $(CC_GNU) $(FLAG_GNU) HEL/AMD64/*.cxx *.cxx
$(LD_GNU) *.o -e efi_main -filealign:16 -shared --subsystem=10 -ffreestanding -o HCoreLdr.exe
cp HCoreLdr.exe CDROM/EFI/BOOT/BOOTX64.EFI
cp ../../HCoreKrnl.exe CDROM/EFI/BOOT/HCoreKrnl.exe