MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / set_context

Method set_context

kernel/src/process.rs:167–169  ·  view source on GitHub ↗
(&mut self, context_ptr: *mut Context)

Source from the content-addressed store, hash-verified

165 }
166
167 pub fn set_context(&mut self, context_ptr: *mut Context) {
168 self.context = context_ptr as u64;
169 }
170
171 /// Modify a thread context, setting the RAX
172 /// register to signal an error.

Callers 9

sys_receiveFunction · 0.80
sys_sendFunction · 0.80
sys_copy_rendezvousFunction · 0.80
sys_execFunction · 0.80
sys_mountFunction · 0.80
sys_listmountsFunction · 0.80
sys_umountFunction · 0.80
sys_closeFunction · 0.80
sys_await_interruptFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected