Changeset e8a0b90 in mainline for kernel/arch/ia32/src/drivers/ega.c
- Timestamp:
- 2007-05-31T21:21:02Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d8431986
- Parents:
- 67f5fbd9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/drivers/ega.c
r67f5fbd9 re8a0b90 67 67 }; 68 68 69 void ega_move_cursor(void);69 static void ega_move_cursor(void); 70 70 71 71 void ega_init(void) … … 120 120 } 121 121 122 void ega_putchar(chardev_t *d , const char ch)122 void ega_putchar(chardev_t *d __attribute__((unused)), const char ch) 123 123 { 124 124 ipl_t ipl; … … 153 153 { 154 154 outb(0x3d4, 0xe); 155 outb(0x3d5, ( ega_cursor >> 8) & 0xff);155 outb(0x3d5, (uint8_t) ((ega_cursor >> 8) & 0xff)); 156 156 outb(0x3d4, 0xf); 157 outb(0x3d5, ega_cursor & 0xff);157 outb(0x3d5, (uint8_t) (ega_cursor & 0xff)); 158 158 } 159 159
Note:
See TracChangeset
for help on using the changeset viewer.