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

@@ -57,7 +57,6 @@ class Thread {
/*! \brief Context of the thread, used for saving and restoring the register
* values when context switching.
*/
Context context;
/*! \brief The thread's entry point.
*
@@ -87,9 +86,11 @@ class Thread {
} StackPointer;
void* operator new ( size_t count )noexcept;
Context context;
four_lvl_paging_t* paging_tree;
pagetable_t* appcode_table;
pagetable_t* appstack_table;
void* code_paddr;
int code_pagenum;
Semaphore ipc_sem;
Queue<IpcStruct> ipc_queue;