Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2438 → Rev 2439

/trunk/kernel/arch/ia32/src/drivers/ega.c
66,7 → 66,7
.write = ega_putchar
};
 
void ega_move_cursor(void);
static void ega_move_cursor(void);
 
void ega_init(void)
{
119,7 → 119,7
ega_cursor = ega_cursor - ROW;
}
 
void ega_putchar(chardev_t *d, const char ch)
void ega_putchar(chardev_t *d __attribute__((unused)), const char ch)
{
ipl_t ipl;
 
152,9 → 152,9
void ega_move_cursor(void)
{
outb(0x3d4, 0xe);
outb(0x3d5, (ega_cursor >> 8) & 0xff);
outb(0x3d5, (uint8_t) ((ega_cursor >> 8) & 0xff));
outb(0x3d4, 0xf);
outb(0x3d5, ega_cursor & 0xff);
outb(0x3d5, (uint8_t) (ega_cursor & 0xff));
}
 
/** @}