feat: better rtc framework which aims to remove single rtc restrictions.
authorMinep <lunaixsky@qq.com>
Fri, 25 Aug 2023 22:17:18 +0000 (23:17 +0100)
committerMinep <lunaixsky@qq.com>
Fri, 25 Aug 2023 22:17:18 +0000 (23:17 +0100)
commitf6ab9c9ababa2cf6e5c723b83ffb9362094054e8
tree134a09d43ebcc1811c7c95997c1e3c02605fae58
parent7c7b5f05d39b7739d990f71256a2267ec67a6913
feat: better rtc framework which aims to remove single rtc restrictions.
feat: user mode api for timer/rtc through fs mapping.
feat: interrupt handlers now have the option to accept customized payload.
refactor: creare a new device class of pseudo device, hope that it will clear things
refactor: move ps2 keyboard driver out of kernel code base.
fix: pcache is now abandon the use of valloc api, as the access is unaligned when allocating page size buffer.
fix: pcached write/read should use direct file i/o and must not failed with ENOMEM when buffer allocation failed.
chore: group the device file ops for better clarity
40 files changed:
lunaix-os/arch/i386/arch.c
lunaix-os/arch/i386/exceptions/i386_isrm.c
lunaix-os/hal/char/ps2kbd.c [moved from lunaix-os/kernel/peripheral/ps2kbd.c with 87% similarity]
lunaix-os/hal/rng/rngx86.c [new file with mode: 0644]
lunaix-os/hal/rtc/hwrtc.c
lunaix-os/hal/rtc/mc146818a.c
lunaix-os/hal/timer/apic_timer.c
lunaix-os/hal/timer/hwtimer.c
lunaix-os/includes/hal/apic_timer.h
lunaix-os/includes/hal/hwrtc.h
lunaix-os/includes/hal/hwtimer.h
lunaix-os/includes/hal/rnd.h [deleted file]
lunaix-os/includes/lunaix/device.h
lunaix-os/includes/lunaix/input.h
lunaix-os/includes/lunaix/isrm.h
lunaix-os/includes/lunaix/mm/cake.h
lunaix-os/includes/lunaix/peripheral/ps2kbd.h [deleted file]
lunaix-os/includes/usr/lunaix/ioctl_defs.h
lunaix-os/kernel/block/blkpart_gpt.c
lunaix-os/kernel/block/block.c
lunaix-os/kernel/device/builtin/devbuiltin.c [deleted file]
lunaix-os/kernel/device/builtin/devrand.c [deleted file]
lunaix-os/kernel/device/devfs.c
lunaix-os/kernel/device/device.c
lunaix-os/kernel/device/input.c
lunaix-os/kernel/device/pseudo/devnull.c [moved from lunaix-os/kernel/device/builtin/devnull.c with 66% similarity]
lunaix-os/kernel/device/pseudo/devpseudo.c [new file with mode: 0644]
lunaix-os/kernel/fs/iso9660/directory.c
lunaix-os/kernel/fs/iso9660/file.c
lunaix-os/kernel/fs/iso9660/inode.c
lunaix-os/kernel/fs/iso9660/mount.c
lunaix-os/kernel/fs/pcache.c
lunaix-os/kernel/fs/probe_boot.c
lunaix-os/kernel/kinit.c
lunaix-os/kernel/mm/cake.c
lunaix-os/kernel/mm/valloc.c
lunaix-os/kernel/proc0.c
lunaix-os/kernel/time/clock.c
lunaix-os/kernel/tty/lxconsole.c
lunaix-os/link/linker.ld