summaryrefslogtreecommitdiffhomepage
path: root/Private/NewBoot/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Private/NewBoot/Source')
-rw-r--r--Private/NewBoot/Source/BootloaderRsrc.rsrc27
-rw-r--r--Private/NewBoot/Source/HEL/AMD64/BootMain.cxx2
-rw-r--r--Private/NewBoot/Source/makefile5
3 files changed, 31 insertions, 3 deletions
diff --git a/Private/NewBoot/Source/BootloaderRsrc.rsrc b/Private/NewBoot/Source/BootloaderRsrc.rsrc
new file mode 100644
index 00000000..e8fa0c9a
--- /dev/null
+++ b/Private/NewBoot/Source/BootloaderRsrc.rsrc
@@ -0,0 +1,27 @@
+#include "../../CompilerKit/Version.hxx"
+
+1 ICON "../../Root/Boot/kernel-logo.ico"
+
+1 VERSIONINFO
+FILEVERSION 1,0,0,0
+PRODUCTVERSION 1,0,0,0
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "080904E4"
+ BEGIN
+ VALUE "CompanyName", "Mahrouss-Logic"
+ VALUE "FileDescription", "NewOS multi-platform bootloader."
+ VALUE "FileVersion", BOOTLOADER_VERSION
+ VALUE "InternalName", "NewBoot"
+ VALUE "LegalCopyright", "Copyright Mahrouss-Logic, all rights reserved."
+ VALUE "OriginalFilename", "NewBoot.exe"
+ VALUE "ProductName", "NewBoot"
+ VALUE "ProductVersion", BOOTLOADER_VERSION
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x809, 1252
+ END
+END \ No newline at end of file
diff --git a/Private/NewBoot/Source/HEL/AMD64/BootMain.cxx b/Private/NewBoot/Source/HEL/AMD64/BootMain.cxx
index 542d62b1..f4eaee33 100644
--- a/Private/NewBoot/Source/HEL/AMD64/BootMain.cxx
+++ b/Private/NewBoot/Source/HEL/AMD64/BootMain.cxx
@@ -32,7 +32,7 @@ EFI_EXTERN_C EFI_API Int EfiMain(EfiHandlePtr ImageHandle,
BTextWriter writer;
/// Splash screen stuff
- writer.Write(L"MahroussLogic (R) NewOS: ")
+ writer.Write(L"Mahrouss-Logic (R) NewOS: ")
.Write(BVersionString::Shared());
writer.Write(L"\r\nNewBoot.exe: Firmware Vendor: ")
diff --git a/Private/NewBoot/Source/makefile b/Private/NewBoot/Source/makefile
index a3807a6d..b9413bb4 100644
--- a/Private/NewBoot/Source/makefile
+++ b/Private/NewBoot/Source/makefile
@@ -32,14 +32,15 @@ FLAG_GNU=-fshort-wchar -mgeneral-regs-only -mno-red-zone -D__KERNEL__ -DEFI_FUNC
invalid-recipe:
@echo "invalid-recipe: Use make bootloader-<arch> all instead."
-.PHONY: bootloader-amd64
-bootloader-amd64: compile-amd64
+.PHONY: all
+all: compile-amd64
$(LD_GNU) $(OBJ) $(LD_FLAGS) -o NewBoot.exe
$(COPY) NewBoot.exe CDROM/EFI/BOOT/BOOTX64.EFI
$(COPY) NewBoot.exe CDROM/EFI/BOOT/NEWBOOT.EFI
.PHONY: compile-amd64
compile-amd64:
+ windres BootloaderRsrc.rsrc -O coff -o BootloaderRsrc.o
$(CC_GNU) $(FLAG_GNU) $(DEBUG) $(wildcard HEL/AMD64/*.cxx) $(wildcard *.cxx)
.PHONY: run-efi-amd64