wip on fork

minimal example works
This commit is contained in:
2026-02-25 11:32:22 +01:00
parent 22ab2fb2a5
commit 8b271e2470
8 changed files with 64 additions and 18 deletions

View File

@@ -100,9 +100,9 @@ extern "C" int main() {
}
Thread* thread_ptr = new Thread(false, (void*)0x4000000, (void*)0x4001000, 2);
g.vault().scheduler.ready(thread_ptr);
g.vault().thread_list[thread_ptr->id] = thread_ptr;
//Thread* thread_ptr = new Thread(false, (void*)0x4000000, (void*)0x4001000, 2);
//g.vault().scheduler.ready(thread_ptr);
//g.vault().thread_list[thread_ptr->id] = thread_ptr;
//for(void* p=Multiboot::getModule(0)->getStartAddress(); p<Multiboot::getModule(0)->getEndAddress(); p=(void*)((uintptr_t)p+4096)){
// DBG << "module at: " << hex << p << endl;