wip on fork
minimal example works
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user