MCPcopy Create free account
hub / github.com/Ruddle/Fomos / call

Method call

bootloader/kernel/src/app.rs:203–216  ·  view source on GitHub ↗
(&mut self, arg: &mut Context)

Source from the content-addressed store, hash-verified

201 }
202 }
203 pub fn call(&mut self, arg: &mut Context) -> i32 {
204 *arg.store = None;
205
206 arg.pid = self.pid;
207
208 let self_store = self.store.take();
209
210 *arg.store = self_store;
211 let res = (self.func)(arg);
212
213 self.store = arg.store.take();
214
215 res
216 }
217}

Callers 1

kernel_mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected