summaryrefslogtreecommitdiff
path: root/src/kernel/linker
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-05-04 20:18:02 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-05-04 20:18:02 +0200
commit35857cb36ae65779a7cab773040c0fc91387a989 (patch)
treea279682c396b5c6345c6c4f9c0c781809b40ccdc /src/kernel/linker
parent277e4af4fa9e80816c809542d792ee6bebb7f202 (diff)
downloadTCE-35857cb36ae65779a7cab773040c0fc91387a989.tar.gz
TCE-35857cb36ae65779a7cab773040c0fc91387a989.zip
Minor changes (more OOP constructs);
Diffstat (limited to 'src/kernel/linker')
-rw-r--r--src/kernel/linker/elf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/linker/elf.cpp b/src/kernel/linker/elf.cpp
index ab8e349..c94e5c0 100644
--- a/src/kernel/linker/elf.cpp
+++ b/src/kernel/linker/elf.cpp
@@ -47,11 +47,11 @@ thread_entry elf_load(uint8_t *data, process* process) {
process* elf_exec(uint8_t *data, int privilege) {
if (elf_check(data)) return 0;
- process* p = process_new(0, 0, privilege);
+ process* p = new process(0, 0, privilege);
thread_entry e = elf_load(data, p);
- thread_new(p, e, 0, 0);
+ new thread(p, e, 0, 0);
return p;
}