Changeset 7d60cf5 in mainline for kernel/arch/amd64/include/asm.h
- Timestamp:
- 2009-02-19T21:58:37Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5cb223f
- Parents:
- 4b44099d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/asm.h
r4b44099d r7d60cf5 74 74 * @return Value read 75 75 */ 76 static inline uint8_t pio_read_8( uint16_tport)76 static inline uint8_t pio_read_8(ioport8_t *port) 77 77 { 78 78 uint8_t val; … … 89 89 * @param val Value to write 90 90 */ 91 static inline void pio_write_8( uint16_tport, uint8_t val)91 static inline void pio_write_8(ioport8_t *port, uint8_t val) 92 92 { 93 93 asm volatile ("outb %b0, %w1\n" : : "a" (val), "d" (port));
Note:
See TracChangeset
for help on using the changeset viewer.