Changeset 5cb223f in mainline
- Timestamp:
- 2009-02-19T22:00:44Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4544884
- Parents:
- 7d60cf5
- Location:
- kernel
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/drivers/ega.h
r7d60cf5 r5cb223f 37 37 38 38 #define EGA_VIDEORAM 0xb8000 39 #define EGA_BASE 0x3d439 #define EGA_BASE ((ioport8_t *)0x3d4) 40 40 41 41 #endif -
kernel/arch/ia32/include/drivers/i8259.h
r7d60cf5 r5cb223f 39 39 #include <arch/interrupt.h> 40 40 41 #define PIC_PIC0PORT1 0x2042 #define PIC_PIC0PORT2 0x2143 #define PIC_PIC1PORT1 0xa044 #define PIC_PIC1PORT2 0xa141 #define PIC_PIC0PORT1 ((ioport8_t *) 0x20) 42 #define PIC_PIC0PORT2 ((ioport8_t *) 0x21) 43 #define PIC_PIC1PORT1 ((ioport8_t *) 0xa0) 44 #define PIC_PIC1PORT2 ((ioport8_t *) 0xa1) 45 45 46 46 #define PIC_NEEDICW4 (1<<0) -
kernel/arch/ia32/src/drivers/i8254.c
r7d60cf5 r5cb223f 54 54 #include <ddi/device.h> 55 55 56 #define CLK_PORT1 0x4057 #define CLK_PORT4 0x4356 #define CLK_PORT1 ((ioport8_t *)0x40) 57 #define CLK_PORT4 ((ioport8_t *)0x43) 58 58 59 59 #define CLK_CONST 1193180 -
kernel/arch/ia32/src/drivers/i8259.c
r7d60cf5 r5cb223f 120 120 void pic_eoi(void) 121 121 { 122 pio_write_8( 0x20, 0x20);123 pio_write_8( 0xa0, 0x20);122 pio_write_8((ioport8_t *)0x20, 0x20); 123 pio_write_8((ioport8_t *)0xa0, 0x20); 124 124 } 125 125 -
kernel/arch/ia32/src/smp/smp.c
r7d60cf5 r5cb223f 123 123 * BIOS will not do the POST after the INIT signal. 124 124 */ 125 pio_write_8( 0x70, 0xf);126 pio_write_8( 0x71, 0xa);125 pio_write_8((ioport8_t *)0x70, 0xf); 126 pio_write_8((ioport8_t *)0x71, 0xa); 127 127 128 128 pic_disable_irqs(0xffff); -
kernel/arch/ia64/include/drivers/ega.h
r7d60cf5 r5cb223f 37 37 38 38 #define EGA_VIDEORAM 0xb8000 39 #define EGA_BASE 0x3d439 #define EGA_BASE ((ioport8_t *)0x3d4) 40 40 41 41 #endif -
kernel/genarch/include/drivers/ega/ega.h
r7d60cf5 r5cb223f 47 47 48 48 extern void ega_redraw(void); 49 extern void ega_init(ioport _t, uintptr_t);49 extern void ega_init(ioport8_t *, uintptr_t); 50 50 51 51 #endif -
kernel/genarch/src/drivers/ega/ega.c
r7d60cf5 r5cb223f 59 59 static uint8_t *videoram; 60 60 static uint8_t *backbuf; 61 static ioport _tega_base;61 static ioport8_t *ega_base; 62 62 63 63 chardev_t ega_console; … … 132 132 }; 133 133 134 void ega_init(ioport _tbase, uintptr_t videoram_phys)134 void ega_init(ioport8_t *base, uintptr_t videoram_phys) 135 135 { 136 136 /* Initialize the software structure. */ -
kernel/generic/src/ipc/irq.c
r7d60cf5 r5cb223f 102 102 break; 103 103 case CMD_PORT_READ_1: 104 dstval = pio_read_8(( long) code->cmds[i].addr);104 dstval = pio_read_8((ioport8_t *) code->cmds[i].addr); 105 105 break; 106 106 case CMD_PORT_WRITE_1: 107 pio_write_8(( long) code->cmds[i].addr, code->cmds[i].value);107 pio_write_8((ioport8_t *) code->cmds[i].addr, code->cmds[i].value); 108 108 break; 109 109 default:
Note:
See TracChangeset
for help on using the changeset viewer.