Added kernel entry-point.

This commit is contained in:
neviyn 2017-10-20 18:35:18 +01:00
parent ce9c6becfd
commit 1f2819aeeb

View File

@ -54,3 +54,8 @@ proc terminalWriteChar(writeChar: char) =
proc terminalWrite(data: string) = proc terminalWrite(data: string) =
for character in data: for character in data:
terminalWriteChar(character) terminalWriteChar(character)
proc kernelMain() {.exportc: "kernel_main"}=
terminalInitialize()
terminalWrite("Hello World")