summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/isa/i8042.c
AgeCommit message (Collapse)Author
42 hourskernel: proc: Do not introduce fork()mainIan Moffett
Simplicity is divine, fork() may be powerful but is no longer simple. It became a thing in the late 70s during the early days of UNIX when computing was simple, when CPUs were only 16-bits, MMUs were not prevalent and RAM was only 512 KB. However it isn't 1971 anymore, process management, CPUs and memory architecture has advanced significantly since. This commit ceases work on the fork() syscall as implementing it would only introduce unnecessary complexity, security issues, hefty processing overhead and would perpetuate what should now be considered legacy. The current best alternative would be providing a form of process spawning as well as a mechanism to wait for the child process to complete. Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel/amd64: i8042: Flush console for reset logsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-04-18kernel/amd64: isa: Improve polling and bufferingIan Moffett
- Remove OBUF_WAIT() and IBUF_WAIT() macros - Buffer to console input Signed-off-by: Ian Moffett <ian@osmora.org>
2025-04-18kernel/amd64: isa: Attempt to wake up PS/2 linesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-04-17kernel/amd64: isa: Add i8042 keyboard supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-24Clean out for exptIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-23kernel/amd64: isa: Add i8042 IRQ statIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-18kernel: tty: Handle input processing betterIan Moffett
- Fix copying logic in tty_read() - Handle ICANON correctly - Add ECHO c_lflag bit - Add TTY_SOURCE_DEV and TTY_SOURCE_RAW defines Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-18kernel: tty: Handle ICANONIan Moffett
Add basic handling for canonical mode Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-12kernel/amd64: i8042: Prevent blinking capslock LEDIan Moffett
Holding down the caps-lock key would result in the LED blinking rapidly which is obviously not normal. This commit corrects that behavior. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-12kernel/amd64: isa: Add i8042 driverIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>