New message for unsupported CPUs
Some checks failed
Builds / ExectOS (amd64, debug) (push) Failing after 22s
Builds / ExectOS (amd64, release) (push) Failing after 33s
Builds / ExectOS (i686, debug) (push) Failing after 30s
Builds / ExectOS (i686, release) (push) Failing after 23s

This commit is contained in:
2025-10-17 09:18:49 +02:00
parent 4f4df52d3d
commit 7f06abf236

View File

@@ -265,7 +265,7 @@ msgFsError:
StartSectors: StartSectors:
/* Print message */ /* Print message */
movw $msgUnavailable, %si movw $.MsgUnavailable, %si
call Print call Print
/* Wait for key press and reboot */ /* Wait for key press and reboot */
@@ -273,10 +273,20 @@ StartSectors:
int $0x16 int $0x16
int $0x19 int $0x19
CpuUnsupported:
/* Unsupported CPU */
popal
movw $.MsgCpuUnsupported, %si
call Print
jmp Reboot
/* Include architecture specific code */ /* Include architecture specific code */
.include ARCH_ESP_SOURCE .include ARCH_ESP_SOURCE
msgUnavailable: .MsgCpuUnsupported:
.ascii "CPU not supported!\r\n\0"
.MsgUnavailable:
.ascii "XTLDR requires EFI-based system!\r\nPress any key to restart\r\n" .ascii "XTLDR requires EFI-based system!\r\nPress any key to restart\r\n"
/* Fill the rest of the extra VBR with zeros */ /* Fill the rest of the extra VBR with zeros */