⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module input

Module input 

Source
Expand description

Input multiplexer — unified character input from keyboard and serial.

Checks all available input sources (PS/2 keyboard on x86_64, then serial) and returns the first available byte. This replaces the per-architecture inline serial reads in the shell.

Functions§

read_char
Read a single character from any available input source (non-blocking).