mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Added a friendly warning that X64 cannot boot fully when booting X64.
This commit is contained in:
parent
4579384312
commit
c16bdd2604
1 changed files with 8 additions and 0 deletions
|
@ -201,6 +201,14 @@ namespace Sortix
|
||||||
// Initialize the GDT and TSS structures.
|
// Initialize the GDT and TSS structures.
|
||||||
GDT::Init();
|
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.
|
// Initialize the interrupt descriptor tables.
|
||||||
IDT::Init();
|
IDT::Init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue