[kernel] Move bind_irq syscall to new system object
In order to implement capabilities on system resources like IRQs so that they may be restricted to drivers only, add a new 'system' kobject type, and move the bind_irq functionality from endpoint to system. Also fix some stack bugs passing the initial handles to a program.
This commit is contained in:
@@ -38,6 +38,12 @@ typedef uint64_t j6_handle_t;
|
||||
/// A process' initial data structure for communicating with the system
|
||||
struct j6_process_init
|
||||
{
|
||||
j6_handle_t input;
|
||||
j6_handle_t output;
|
||||
j6_handle_t process;
|
||||
j6_handle_t handles[3];
|
||||
};
|
||||
|
||||
/// A thread's initial data structure
|
||||
struct j6_thread_init
|
||||
{
|
||||
j6_handle_t thread;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user