Add missing headers/os/drivers/KernelExport.h functions here and there.
Some int -> cpu_state cleanup on the way, and implement the B_KDEBUG_CONT and B_KDEBUG_QUIT features in our kernel debugger. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2173 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1427,6 +1427,16 @@ setrlimit(int resource, const struct rlimit * rlp)
|
||||
|
||||
|
||||
|
||||
thread_id
|
||||
spawn_kernel_thread (thread_func function, const char *thread_name, long priority, void *arg)
|
||||
{
|
||||
return _create_thread(thread_name, team_get_kernel_team()->id, (addr) function, arg, (int) priority, true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// #pragma mark -
|
||||
// Calls from within the kernel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user