From c16bdd26046894e65897bc33186b67f454a60a9e Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Thu, 6 Oct 2011 10:09:08 +0200 Subject: [PATCH] Added a friendly warning that X64 cannot boot fully when booting X64. --- sortix/kernel.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sortix/kernel.cpp b/sortix/kernel.cpp index 8931fba4..7fa8d90d 100644 --- a/sortix/kernel.cpp +++ b/sortix/kernel.cpp @@ -201,6 +201,14 @@ namespace Sortix // Initialize the GDT and TSS structures. GDT::Init(); +#ifdef PLATFORM_X64 + Log::Print("Halt: CPU X64 cannot boot because interrupts are not yet " + "supported under 64-bit Sortix.\n"); + Log::Print("Sorry, it simply isn't possible to fully boot Sortix in x64 mode yet.\n"); + Log::Print("X64 may be working when Sortix 0.5 comes out, or try the git master.\n"); + while(true); +#endif + // Initialize the interrupt descriptor tables. IDT::Init();