Rewrite core of the XTLDR boot loader

Reviewed-on: xt-sys/exectos#7
Reviewed-by: Piotr Likoski <likoski@noreply.codingworkshop.git>
Co-authored-by: Rafal Kupiec <belliash@codingworkshop.eu.org>
Co-committed-by: Rafal Kupiec <belliash@codingworkshop.eu.org>
This commit is contained in:
2024-01-09 18:51:04 +01:00
committed by CodingWorkshop Signing Team
parent 44905bb71d
commit 4412d4fc98
63 changed files with 6282 additions and 2371 deletions

View File

@@ -1 +1 @@
set_install_file(xtldr.ini efi/boot)
set_install_file(xtldr.ini efi/boot/xtldr)

View File

@@ -6,13 +6,14 @@
# Debug - enables the debugging port and consists of two comma-separated parameters: com port and baud rate;
# it is also possible to specify custom port address with: COM0:[address],[baud_rate]
# Default - specifies which operating system listen in config file will be started if no choice is made
# Theme - allows to set a custom theme to personalize XTLDR's look'n'feel
# Modules - supplies a list of modules that will be loaded in orded to extend XTLDR functionality
# Timeout - sets the countdown timer (in seconds) before the default OS get started automatically
# Tune - plays a tune on the pcspeaker right before the XTLDR loads
# Tune - plays a tune on the pcspeaker right before the XTLDR boot menu shows up
#
# Another type of section is [OS-Section] which adds a new position (operating system) to the boot menu. Each type
# of the operating system provides a set of available parameters. If unsupported option is added, it is being ignored
# by the XT Boot Loader. The available options are:
# BootModules - supplies a list of additional modules that will be loaded just before invoking the boot protocol
# SystemName - sets a long operating system name that will be shown on the boot menu
# SystemType - specifies an OS type from a predefined list of supported boot protocols
# SystemPath - the ARC path, eg. multi(0)disk(0)rdisk(0)partition(1)
@@ -22,22 +23,24 @@
# Parameters - specifies extra boot options for the kernel
[XTLDR]
Tune=400 880 2 988 2 783 2 392 2 587 3
Debug=COM1,115200
Timeout=30
Theme=Fancy
Default=ExectOS
Modules=beep
Timeout=30
Tune=400 880 2 988 2 783 2 392 2 587 3
[ExectOS]
SystemName="ExectOS Operating System"
SystemType=XTOS
BootModules=xtos_o
SystemPath=multi(0)disk(0)rdisk(0)partition(1)/ExectOS
KernelFile=xtoskrnl.exe
Parameters=DEBUG DEBUGPORT=COM1,115200
Parameters=DEBUG=COM1,115200
[Windows]
SystemName="Microsoft Windows 2000"
SystemType=NT50
BootModules=ntos
SystemPath=multi(0)disk(0)rdisk(0)partition(2)/Windows
KernelFile=ntoskrnl.exe
HalFile=hal.dll
@@ -46,6 +49,7 @@ Parameters=/NOGUIBOOT /MININT
[Linux]
SystemName="GNU/Linux"
SystemType=LINUX
BootModules=linux
SystemPath=multi(0)disk(0)rdisk(0)partition(3)/boot
KernelFile=vmlinuz
InitrdFile=initramfs.cpio.gz