Added a friendly warning that X64 cannot boot fully when booting X64.

This commit is contained in:
Jonas 'Sortie' Termansen 2011-10-06 10:09:08 +02:00
parent 4579384312
commit c16bdd2604
1 changed files with 8 additions and 0 deletions

View File

@ -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();