summaryrefslogtreecommitdiff
path: root/src/kernel/core
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2010-02-09 17:48:38 +0100
committerAlexis211 <alexis211@gmail.com>2010-02-09 17:48:38 +0100
commit3e1998280319e8060e797ca39b3b0b1bc766d569 (patch)
tree045c5a3e7d12a499a8f107e1223ae6880600a8c1 /src/kernel/core
parent4886faa3dce410543eda2139221e03959e73a747 (diff)
downloadTCE-3e1998280319e8060e797ca39b3b0b1bc766d569.tar.gz
TCE-3e1998280319e8060e797ca39b3b0b1bc766d569.zip
Added thread_new syscall
Diffstat (limited to 'src/kernel/core')
-rw-r--r--src/kernel/core/kmain.c2
-rw-r--r--src/kernel/core/monitor.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/core/kmain.c b/src/kernel/core/kmain.c
index 4a4da05..0a94fde 100644
--- a/src/kernel/core/kmain.c
+++ b/src/kernel/core/kmain.c
@@ -49,7 +49,7 @@ void kmain(struct multiboot_info_t* mbd, int32_t magic) {
if (elf_check((uint8_t*)mods[i].mod_start)) {
monitor_write(" : Invalid ELF file\n");
} else {
- if (elf_exec((uint8_t*)mods[i].mod_start, PL_SERVICE) == 0) {
+ if (elf_exec((uint8_t*)mods[i].mod_start, PL_DRIVER) == 0) {
monitor_write(" : Error loading\n");
} else {
monitor_write(" : OK\n");
diff --git a/src/kernel/core/monitor.h b/src/kernel/core/monitor.h
index 19201ed..f4605cf 100644
--- a/src/kernel/core/monitor.h
+++ b/src/kernel/core/monitor.h
@@ -9,7 +9,7 @@ void monitor_write(char *s);
void monitor_writeHex(uint32_t v);
void monitor_writeDec(uint32_t v);
-#define NL monitor_put("\n");
+#define NL monitor_put('\n');
#endif