mirror of
https://github.com/drasko/codezero.git
synced 2026-02-09 16:33:16 +01:00
Adding address space structure to ktcbs. Still booting until virtual memory is enabled.
This commit is contained in:
@@ -76,7 +76,7 @@ void physmem_init()
|
||||
/* Map initial pgd area as used */
|
||||
start = (unsigned long)__pt_start;
|
||||
end = (unsigned long)__pt_end;
|
||||
set_page_map(virt_to_phys(current->pgd), __pfn(end - start), 1);
|
||||
set_page_map(virt_to_phys(TASK_PGD(current)), __pfn(end - start), 1);
|
||||
|
||||
physmem.start = PHYS_MEM_START;
|
||||
physmem.end = PHYS_MEM_END;
|
||||
|
||||
Reference in New Issue
Block a user