Prioritise output before all else, just so we know when the kernel actually works.
This commit is contained in:
parent
24aad1e4a5
commit
437e10e86c
|
@ -44,12 +44,18 @@ void PrepareSystem(FILELOADER_PARAMS* FLOP) {
|
||||||
Memory_Info.MemoryMapDescriptorSize = FLOP->MemoryMapDescriptorSize;
|
Memory_Info.MemoryMapDescriptorSize = FLOP->MemoryMapDescriptorSize;
|
||||||
Memory_Info.MemoryMapDescriptorVersion = FLOP->MemoryMapDescriptorVersion;
|
Memory_Info.MemoryMapDescriptorVersion = FLOP->MemoryMapDescriptorVersion;
|
||||||
|
|
||||||
|
|
||||||
|
SetupPrinting(FLOP->GPU_Info->GPUs[0]);
|
||||||
|
/* All print functions are now available. */
|
||||||
|
printf("ready!");
|
||||||
|
|
||||||
|
InstallGDT();
|
||||||
|
InstallIDT();
|
||||||
|
|
||||||
if(SetIdentityMap(FLOP->RTServices) == NULL) {
|
if(SetIdentityMap(FLOP->RTServices) == NULL) {
|
||||||
Memory_Info.MemoryMap = FLOP->MemoryMap;
|
Memory_Info.MemoryMap = FLOP->MemoryMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
SetupPrinting(FLOP->GPU_Info->GPUs[0]);
|
|
||||||
/* All print functions are now available. */
|
|
||||||
|
|
||||||
PrepareAVX();
|
PrepareAVX();
|
||||||
|
|
||||||
|
@ -90,8 +96,6 @@ void PrepareSystem(FILELOADER_PARAMS* FLOP) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set up memory management
|
// Set up memory management
|
||||||
InstallGDT();
|
|
||||||
InstallIDT();
|
|
||||||
InstallMemoryMap();
|
InstallMemoryMap();
|
||||||
InstallPaging();
|
InstallPaging();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user