3902 |
5621 d 1 h |
jermar |
/trunk/kernel/ |
Introduce a more platform-neutral name for programmed I/O.
The new API looks like pio_read_n() or pio_write_n(), where n is 8, 16 or 32.
The old API (i.e. inb(), inw(), inl(), outb() outw(), outl()) may have made
some people think that the interface is only to be used with the separate I/O
space. That's not the case. This API is to be implemented on all platforms
so that we can finally have really generic kernel device drivers. |
|
/trunk/kernel/arch/amd64/include/asm.h /trunk/kernel/arch/arm32/include/asm.h /trunk/kernel/arch/ia32/include/asm.h /trunk/kernel/arch/ia32/include/drivers/i8042.h /trunk/kernel/arch/ia32/src/drivers/i8254.c /trunk/kernel/arch/ia32/src/drivers/i8259.c /trunk/kernel/arch/ia32/src/smp/smp.c /trunk/kernel/arch/ia64/include/asm.h /trunk/kernel/arch/ia64/include/drivers/i8042.h /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/mips32/include/asm.h /trunk/kernel/arch/ppc32/include/asm.h /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/src/drivers/ega/ega.c /trunk/kernel/generic/src/ipc/irq.c
|