summaryrefslogtreecommitdiff
path: root/src/kernel/task/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/task/task.c')
-rw-r--r--src/kernel/task/task.c2
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;