Changes

Jump to: navigation, search

Porting the kernel

No change in size, 11:44, 11 March 2008
m
Robot: Automated text replacement (-VE0 +CT0)
* <code>task->pid</code> should be changed with <code>virt_pid(task)</code> in some places. The rule is simple: user should see only virtual pids, while kernel operate on global pids. e.g. in signals, virtual pid should be delivered to app.
* In interrupt handlers one need to set global host ([[VE0CT0]]) context. i.e. <code>set_exec_env()</code>, <code>set_exec_ub()</code>. i.e. interrupt handlers are running in VE0 CT0 context.
* In <code>kernel_thread()</code> one needs to prohibit kernel threads in VE. Mostly security related...
2,253
edits

Navigation menu