mirror of
https://github.com/Plexi09/Nadir-Kernel.git
synced 2026-10-20 15:07:27 +02:00
docs: removed unceccessary comments
This commit is contained in:
parent
591c57c8f8
commit
650266b3af
4 changed files with 0 additions and 6 deletions
|
|
@ -18,7 +18,6 @@ static uint8_t cursor_col;
|
|||
* store in order. */
|
||||
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)
|
||||
{
|
||||
for (uint8_t row = 1; row < VGA_HEIGHT; row++) {
|
||||
|
|
|
|||
|
|
@ -89,8 +89,6 @@ static uint8_t k_shift;
|
|||
static uint8_t k_caps;
|
||||
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. */
|
||||
static void enqueue(char c)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ void serial_putchar(char c)
|
|||
/* Spin until THR is empty; hangs only if hardware is absent/wedged,
|
||||
* which is why callers gate on serial_ok() when unsure. */
|
||||
while ((inb(COM_LSR) & LSR_TX_EMPTY) == 0) {
|
||||
/* Poll. */
|
||||
}
|
||||
outb(COM_DATA, (uint8_t)c);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue