Flanterm can write to fb but page fault before process creation. (BEFORE KHEAP UPDATE)
This commit is contained in:
@@ -56,7 +56,7 @@ void kheap_init()
|
||||
head->size = PAGE_SIZE - sizeof(struct heap_block_t);
|
||||
head->free = true;
|
||||
head->next = NULL;
|
||||
DEBUG("kheap initialized, head=0x%p, size=%u", head, head->size);
|
||||
DEBUG("kernel heap initialized, head=0x%p, max_size=%u bytes", head, KHEAP_SIZE);
|
||||
}
|
||||
|
||||
void* kmalloc(size_t size)
|
||||
|
||||
@@ -68,5 +68,6 @@ void vmm_setup_pt_root()
|
||||
|
||||
void vmm_init()
|
||||
{
|
||||
vmm_setup_pt_root();
|
||||
// NO U
|
||||
//vmm_setup_pt_root();
|
||||
}
|
||||
Reference in New Issue
Block a user