docs: removed unceccessary comments

This commit is contained in:
Pierre-Emmanuel Gob. 2026-09-19 23:07:45 +02:00
parent 591c57c8f8
commit 650266b3af
4 changed files with 0 additions and 6 deletions

2
.gitignore vendored
View file

@ -13,12 +13,10 @@ compile_commands.json
.vscode/ .vscode/
.idea/ .idea/
*~ *~
.pyc
*.pyc *.pyc
# QEMU / debug # QEMU / debug
*.log *.log
qemu*.log
*.core *.core
# For contributors using ai agents # For contributors using ai agents

View file

@ -18,7 +18,6 @@ static uint8_t cursor_col;
* store in order. */ * store in order. */
static volatile uint16_t *const vga = (uint16_t *)VGA_ADDR; static volatile uint16_t *const vga = (uint16_t *)VGA_ADDR;
/* Move every line one row up and blank the last line */
static void scroll(void) static void scroll(void)
{ {
for (uint8_t row = 1; row < VGA_HEIGHT; row++) { for (uint8_t row = 1; row < VGA_HEIGHT; row++) {

View file

@ -89,8 +89,6 @@ static uint8_t k_shift;
static uint8_t k_caps; static uint8_t k_caps;
static uint8_t k_e0; static uint8_t k_e0;
/* Queue helpers below; port I/O comes from io.h. */
/* Drop-newest on full: keeps the consumer's prefix intact for editing. */ /* Drop-newest on full: keeps the consumer's prefix intact for editing. */
static void enqueue(char c) static void enqueue(char c)
{ {

View file

@ -41,7 +41,6 @@ void serial_putchar(char c)
/* Spin until THR is empty; hangs only if hardware is absent/wedged, /* Spin until THR is empty; hangs only if hardware is absent/wedged,
* which is why callers gate on serial_ok() when unsure. */ * which is why callers gate on serial_ok() when unsure. */
while ((inb(COM_LSR) & LSR_TX_EMPTY) == 0) { while ((inb(COM_LSR) & LSR_TX_EMPTY) == 0) {
/* Poll. */
} }
outb(COM_DATA, (uint8_t)c); outb(COM_DATA, (uint8_t)c);
} }