]> git.dujemihanovic.xyz Git - nameless-os.git/commit
kernel: Huge refactoring of tty driver
authorDuje Mihanović <duje.mihanovic@skole.hr>
Sat, 2 Jul 2022 12:54:37 +0000 (14:54 +0200)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Sat, 2 Jul 2022 12:54:37 +0000 (14:54 +0200)
commit119dc631e1b417eec4f0eb2d8373d034b53d0f2e
tree1e0d4812c504e0edc5036eba2c7af2dbe4a6ce71
parent138126cbc8962bf148274a568916ac45454e84b7
kernel: Huge refactoring of tty driver

The VGA-specific parts now reside solely at arch/x86/tty.c and the
non-arch-specific functions (kprint*) are in kernel/kprint.c.

TODO: Make kernel/kprint.c more device agnostic
12 files changed:
kernel/arch/x86/Makefile
kernel/arch/x86/irq/interrupt.c
kernel/arch/x86/tty.c [new file with mode: 0644]
kernel/arch/x86/tty/Makefile [deleted file]
kernel/arch/x86/tty/tty.c [deleted file]
kernel/include/arch/x86/tty.h [new file with mode: 0644]
kernel/include/kprint.h [new file with mode: 0644]
kernel/include/panic.h
kernel/include/tty.h [deleted file]
kernel/kernel/Makefile
kernel/kernel/kernel.c
kernel/kernel/kprint.c [new file with mode: 0644]