52 "IRQ #%u\t[Keyboard]\n"
56 (0x00_u8 != (keyCode & 0x80_u8)) ?
"RELEASED" :
"PRESSED",
static auto readPort8(const port_t addr) noexcept -> igros_byte_t
Read byte from port.
static void install() noexcept
Install IRQ handler.
static void unmask(const irq_t number) noexcept
Unmask interrupt.
static constexpr auto from(const U value) noexcept -> kFlags
From raw value (hardware register, table entry).
std::uint8_t igros_byte_t
8-bit unsigned integer
std::uint32_t igros_dword_t
32-bit unsigned integer
Architecture interrupts type deduction.
Bit flags template datatype.
Kernel text print functions.
Keyboard generic handling.
KEYBOARD_STATUS
Controller status register bits.
@ OUTPUT_FULL
Output buffer full (data port has byte).
Architecture-independent interface: drivers and aliases of current architecture types.
constexpr auto KEYBOARD_DATA
Data port.
constexpr auto KEYBOARD_CONTROL
Controller status/command port.
static void keyboardInterruptHandler(const register_t *regs) noexcept
Keyboard interrupt (#1) handler.
auto keyboardSetup() noexcept -> bool
Setup keyboard function.
void kprintf(const char *const format,...) noexcept
Kernel printf function (arguments are checked against format at compile time).
igros_word_t port_t
Define port data type which is 16bit word.
Architecture register type deduction.
x86_64 task switch registers save
Common C++ types redefinition.