summaryrefslogtreecommitdiff
path: root/src/sys/arch/amd64/isa/i8042.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-09 17:06:22 -0400
committerIan Moffett <ian@osmora.org>2025-10-09 17:17:52 -0400
commitd1296d7ca780daf7c54520831e6ebb5cbe0a3642 (patch)
treeb2cfda818c7383875a1588ad2bb51408cf6e0903 /src/sys/arch/amd64/isa/i8042.c
parent22a4e1692886c118955da0326ed45bf4a8f7682e (diff)
kern: iotap: Expose I/O taps to userland
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>
Diffstat (limited to 'src/sys/arch/amd64/isa/i8042.c')
0 files changed, 0 insertions, 0 deletions