summaryrefslogtreecommitdiff
path: root/sys/dev/cons
AgeCommit message (Collapse)Author
38 hourskernel: Optimize console & loggingexptQuinn Stephens
* Modified draw loops to use `fbdev_get_index()` less often. * Created `cons_fast_putch()`, then used it to implement `cons_putch()` and `cons_putstr()`. This way, when printing an entire string, the lock acquire/release and cursor hide/show will only happen once, instead of once per character. * Modified `syslog_write()` to use `cons_putstr()`. Signed-off-by: Quinn Stephens <quinn@osmora.org> Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel: cons: Add lock to console bufferIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-04-22kernel: cons: Add backspace supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-04-18kernel: cons: Add console buffer frameworkIan Moffett
Major console improvements - Add console buffer framework for managing console input/output in a more smooth and elegant manner - Fix cursor bugs Signed-off-by: Ian Moffett <ian@osmora.org>
2025-04-17kernel: cons: Support flexible console attrIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22kernel: cons: Add lock around root consoleIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22kernel: dev: Add /dev/consoleIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-16project: Update copyright date to 2025Ian Moffett
Was supposed to happen on Jan 1, sorry! Happy late new year! Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-15kernel: cons: Optimize console drawingQuinn Stephens
Prevents the cursor from being cleared right before a character is drawn or right after the screen is cleared. Also optimized the cursor drawing routine to just draw a rectangle instead of rendering a space character. Additionally renamed `cons_render_char()` to `cons_draw_char()` and fixed all characters being drawn one pixel too far to the right. Signed-off-by: Quinn Stephens <quinn@osmora.org> Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-09kernel: cons: Improve char handling and add cursorIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-07kernel: cons: Ensure fb_mem isn't NULLIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04project: Initial commitIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>