summaryrefslogtreecommitdiff
path: root/src/stem/core
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2010-02-05 21:35:38 +0100
committerAlexis211 <alexis211@gmail.com>2010-02-05 21:35:38 +0100
commit3558f18daf50281ee1cd68cca96cd967dbac04ba (patch)
treecbe73621cdd2f481ed6f985aeb532ca1f7a7ad77 /src/stem/core
parent893244c8b5272df86da5d333332eec26ae8f15f2 (diff)
downloadTCE-3558f18daf50281ee1cd68cca96cd967dbac04ba.tar.gz
TCE-3558f18daf50281ee1cd68cca96cd967dbac04ba.zip
Everything seems to work : loading a module that displays a message.
Diffstat (limited to 'src/stem/core')
-rw-r--r--src/stem/core/kmain.c2
-rw-r--r--src/stem/core/sys.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stem/core/kmain.c b/src/stem/core/kmain.c
index 5b6c06e..d6233db 100644
--- a/src/stem/core/kmain.c
+++ b/src/stem/core/kmain.c
@@ -57,7 +57,7 @@ void kmain(struct multiboot_info_t* mbd, int32_t magic) {
}
}
- monitor_write("Passing conroll to loaded modules...\n");
+ monitor_write("Passing controll to loaded modules...\n");
sti();
tasking_switch();
}
diff --git a/src/stem/core/sys.c b/src/stem/core/sys.c
index 36ed6d0..d31c20e 100644
--- a/src/stem/core/sys.c
+++ b/src/stem/core/sys.c
@@ -22,7 +22,7 @@ uint16_t inw(uint16_t port) {
}
void panic(char* message, char* file, int line) {
- monitor_write(">> PANIC: >>");
+ monitor_write("\n>> PANIC: >>");
monitor_write(message); monitor_write("<< in file "); monitor_write(file);
monitor_write("\nSystem halted T_T");
asm volatile("cli; hlt");