Mercurial > lcfOS
diff cos/kernel/kernel.c @ 22:69bc6d477b38
Added python run function
author | windel |
---|---|
date | Wed, 30 Nov 2011 22:41:51 +0100 |
parents | b1fed2171e1a |
children | 5dd47d6eebac |
line wrap: on
line diff
--- a/cos/kernel/kernel.c Tue Nov 29 19:32:31 2011 +0100 +++ b/cos/kernel/kernel.c Wed Nov 30 22:41:51 2011 +0100 @@ -147,6 +147,7 @@ void startPython() { // TODO: connect to Py_Main + PyRun_SimpleString("print('hello world')"); } @@ -166,10 +167,9 @@ void kmain() { init_screen(); - printf("Welcome! .. "); + setupIDT(); - printf("Enabling interrupts .. "); - setupIDT(); + printf("Welcome! .. "); printf("Testing malloc"); testMalloc(); printf("Entering mainloop!\n");