mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -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:
@@ -1,5 +1,5 @@
|
||||
extern _syscall_process_exit
|
||||
global _PDCLIB_Exit
|
||||
_PDCLIB_Exit:
|
||||
; arg should already be in rdi
|
||||
mov rax, 0x11 ; Exit syscall
|
||||
syscall
|
||||
jmp _syscall_process_exit
|
||||
|
||||
Reference in New Issue
Block a user