Age | Commit message (Collapse) | Author | |
---|---|---|---|
42 hours | kern: iotap: Return -ENOTSUP if I/O tap op is NULL | Ian Moffett | |
If an I/O tap operation is unimplemented, return the -ENOTSUP error code before trying to call it. Signed-off-by: Ian Moffett <ian@osmora.org> | |||
11 days | kern: iotap: Expose I/O taps to userland | Ian Moffett | |
Expose I/O taps to userland using a tap message interface. An application may construct a tap message to send to the kernel requesting data from a specific tap, if there is data, the buffers will be safely populated, otherwise some error returned. An example is accessing the PS/2 keyboard tap: -- char name[] = "i8042.port.0"; char buf[2] = {0, 0}; struct iotap_msg msg = { .opcode = IOTAP_OPC_READ, .buf = buf, .len = len }; ... /* muxtap() may be used */ ... -- Signed-off-by: Ian Moffett <ian@osmora.org> | |||
13 days | kern: iotap: Remove unused include | Ian Moffett | |
Signed-off-by: Ian Moffett <ian@osmora.org> | |||
13 days | kern: os: Add I/O tap framework | Ian Moffett | |
The I/O tap framework provides a way to bypass the typical device filesystem interface for applications where more direct access would be beneficial. Signed-off-by: Ian Moffett <ian@osmora.org> |