mirror of
https://github.com/drasko/codezero.git
synced 2026-01-27 10:13:15 +01:00
Towards adding sys_clone()
Stopped working on self_spawn() - going to finish clone() syscall first. Arch-specific clone() library call that does ipc() and cloned child setup. - Need to finish thread_create() that satisfy clone() necessities. i.e. setting up its stack. Question: Does the pager (and thus the microkernel) have to explicitly set SP_USR? Once the call is known to be successful, the library could set it.
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#define L4_IPC_TAG_STAT 23
|
||||
#define L4_IPC_TAG_FSTAT 24
|
||||
#define L4_IPC_TAG_FSYNC 25 /* Pager notifies vfs of file close */
|
||||
#define L4_IPC_TAG_CLONE 26 /* Pager notifies vfs of file close */
|
||||
|
||||
|
||||
/* Tags for ipc between fs0 and mm0 */
|
||||
|
||||
Reference in New Issue
Block a user