Rename writeChar, writeString -> printChar, printString
This commit is contained in:
parent
46d18b97d5
commit
1bbd99aeee
5 changed files with 23 additions and 23 deletions
|
@ -25,7 +25,7 @@ kearly()
|
|||
*/
|
||||
Console console;
|
||||
console.clear(kernel::Console::Color::Blue);
|
||||
console.writeString("Loading system ...\n");
|
||||
console.printString("Loading system ...\n");
|
||||
}
|
||||
|
||||
|
||||
|
@ -44,12 +44,12 @@ kmain()
|
|||
gdt.setDescriptor(2, x86::GDT::DescriptorSpec::kernelSegment(0, 0xFFFFFFFF, x86::GDT::Type::DataRW));
|
||||
gdt.load();
|
||||
|
||||
console.writeString("GDT loaded\n");
|
||||
console.printString("GDT loaded\n");
|
||||
|
||||
auto& interruptHandler = x86::InterruptHandler::systemInterruptHandler();
|
||||
interruptHandler.initialize();
|
||||
interruptHandler.enableInterrupts();
|
||||
console.writeString("Interrupts enabled\n");
|
||||
console.printString("Interrupts enabled\n");
|
||||
|
||||
for (;;) { }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue