Changeset e8a0b90 in mainline for kernel/arch/ia32/src/drivers/ega.c


Ignore:
Timestamp:
2007-05-31T21:21:02Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8431986
Parents:
67f5fbd9
Message:

fix ICC compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/drivers/ega.c

    r67f5fbd9 re8a0b90  
    6767};
    6868
    69 void ega_move_cursor(void);
     69static void ega_move_cursor(void);
    7070
    7171void ega_init(void)
     
    120120}
    121121
    122 void ega_putchar(chardev_t *d, const char ch)
     122void ega_putchar(chardev_t *d __attribute__((unused)), const char ch)
    123123{
    124124        ipl_t ipl;
     
    153153{
    154154        outb(0x3d4, 0xe);
    155         outb(0x3d5, (ega_cursor >> 8) & 0xff);
     155        outb(0x3d5, (uint8_t) ((ega_cursor >> 8) & 0xff));
    156156        outb(0x3d4, 0xf);
    157         outb(0x3d5, ega_cursor & 0xff);
     157        outb(0x3d5, (uint8_t) (ega_cursor & 0xff));     
    158158}
    159159
Note: See TracChangeset for help on using the changeset viewer.