mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[kernel] Let endpoints get interrupt notifications
- Add a tag field to all endpoint messages, which doubles as a notification field - Add a endpoint_bind_irq syscall to enable an endpoint to listen for interrupt notifications. This mechanism needs to change. - Add a temporary copy of the serial port code to nulldrv, and let it take responsibility for COM2
This commit is contained in:
@@ -20,9 +20,10 @@ SYSCALL(0x23, channel_receive, j6_handle_t, size_t *, void *)
|
||||
|
||||
SYSCALL(0x28, endpoint_create, j6_handle_t *)
|
||||
SYSCALL(0x29, endpoint_close, j6_handle_t)
|
||||
SYSCALL(0x2a, endpoint_send, j6_handle_t, size_t, void *)
|
||||
SYSCALL(0x2b, endpoint_receive, j6_handle_t, size_t *, void *)
|
||||
SYSCALL(0x2c, endpoint_sendrecv, j6_handle_t, size_t *, void *)
|
||||
SYSCALL(0x2a, endpoint_send, j6_handle_t, j6_tag_t, size_t, void *)
|
||||
SYSCALL(0x2b, endpoint_receive, j6_handle_t, j6_tag_t *, size_t *, void *)
|
||||
SYSCALL(0x2c, endpoint_sendrecv, j6_handle_t, j6_tag_t *, size_t *, void *)
|
||||
SYSCALL(0x2d, endpoint_bind_irq, j6_handle_t, unsigned)
|
||||
|
||||
SYSCALL(0x30, vma_create, j6_handle_t *, size_t, uint32_t)
|
||||
SYSCALL(0x31, vma_create_map, j6_handle_t *, size_t, uintptr_t, uint32_t)
|
||||
|
||||
Reference in New Issue
Block a user