diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-01 14:55:18 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-01 14:55:18 +0200 |
commit | e8cf65c07d78e3cfbac953b1b97c51998a5900df (patch) | |
tree | 7b75741a1d38b5da1ee79e877709b6b4723c4713 /src/kernel/task/task.c | |
parent | 5cac9acd3aedc8043d4272d93c56805c46ff6214 (diff) | |
download | TCE-e8cf65c07d78e3cfbac953b1b97c51998a5900df.tar.gz TCE-e8cf65c07d78e3cfbac953b1b97c51998a5900df.zip |
Now using Doug Lea's malloc in kernel land. Next: same in userland.
Diffstat (limited to 'src/kernel/task/task.c')
-rw-r--r-- | src/kernel/task/task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/task/task.c b/src/kernel/task/task.c index a6becdb..7071248 100644 --- a/src/kernel/task/task.c +++ b/src/kernel/task/task.c @@ -45,7 +45,7 @@ void tasking_init() { /* Called by the paging functions when a page table is allocated in the kernel space (>K_HIGHHALF_ADDR). Updates the page directories of all the processes. */ void tasking_updateKernelPagetable(uint32_t idx, struct page_table *table, uint32_t tablephysical) { - if (idx < 896) return; + if (idx < FIRST_KERNEL_PAGETABLE) return; struct process* it = processes; while (it != 0) { it->pagedir->tables[idx] = table; |