From d9023cbe06b068e78d86e518e0952ef29390acc2 Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Wed, 2 May 2018 23:02:46 +0100 Subject: [PATCH] Unified initialization method names. --- kernel/arch/i386/tty.nim | 2 +- kernel/kernel.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/arch/i386/tty.nim b/kernel/arch/i386/tty.nim index 2ba31ec..e500dee 100644 --- a/kernel/arch/i386/tty.nim +++ b/kernel/arch/i386/tty.nim @@ -26,7 +26,7 @@ proc terminalClear*() = terminalRow = 0 terminalColumn = 0 -proc initialize*() = +proc init*() = terminalColour = vgaEntryColour(VGA_Colour.lightGreen, VGA_Colour.red) terminalClear() diff --git a/kernel/kernel.nim b/kernel/kernel.nim index fbe8ad2..75d4ae7 100644 --- a/kernel/kernel.nim +++ b/kernel/kernel.nim @@ -28,7 +28,7 @@ proc kernelMain() {.exportc: "kernel_main"}= serial.writeLine("GDT installed") interrupts.idtInstall() serial.writeLine("IDT installed") - tty.initialize() + tty.init() tty.writeLine("Version:" & version) tty.writeLine("Hello World!") tty.write("MAX_INT:")