feat: input device subsystem to resolve race condition on polling input
authorMinep <zelong56@gmail.com>
Mon, 22 Aug 2022 14:37:56 +0000 (15:37 +0100)
committerMinep <zelong56@gmail.com>
Mon, 22 Aug 2022 14:43:07 +0000 (15:43 +0100)
commit5ea8e2ba737f903db81d49b56778e883634512a5
tree1649ef03aa3db30c7d482a00500026a30536a492
parent96e23fa3c6eabf8a6efebac24b740c5d4a2a1050
feat: input device subsystem to resolve race condition on polling input
feat: simple wait queue implementation for efficient waiting.
fix: dead lock when invoking sched_yieldk() inside interrupt context.
chore: refactorings and clean up.
18 files changed:
lunaix-os/includes/lunaix/device.h
lunaix-os/includes/lunaix/ds/waitq.h [new file with mode: 0644]
lunaix-os/includes/lunaix/input.h [new file with mode: 0644]
lunaix-os/includes/lunaix/keyboard.h
lunaix-os/includes/lunaix/peripheral/ps2kbd.h
lunaix-os/includes/lunaix/process.h
lunaix-os/includes/lunaix/types.h
lunaix-os/kernel/demos/input_test.c [new file with mode: 0644]
lunaix-os/kernel/device/devfs.c
lunaix-os/kernel/device/device.c
lunaix-os/kernel/device/input.c [new file with mode: 0644]
lunaix-os/kernel/ds/waitq.c [new file with mode: 0644]
lunaix-os/kernel/k_init.c
lunaix-os/kernel/lxconsole.c
lunaix-os/kernel/peripheral/ps2kbd.c
lunaix-os/kernel/proc0.c
lunaix-os/kernel/sched.c
lunaix-os/kernel/service/pconsole.c [deleted file]