mirror of
https://github.com/justinian/jsix.git
synced 2025-12-11 08:54:31 -08:00
[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:
3
src/kernel/objects/system.cpp
Normal file
3
src/kernel/objects/system.cpp
Normal file
@@ -0,0 +1,3 @@
|
||||
#include "objects/system.h"
|
||||
|
||||
system system::s_instance;
|
||||
Reference in New Issue
Block a user