Changeset ee06f2a in mainline for kernel/arch/amd64/include/asm.h
- Timestamp:
- 2009-02-15T15:28:00Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2d96f4d
- Parents:
- e7f2ad68
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/asm.h
re7f2ad68 ree06f2a 74 74 * @return Value read 75 75 */ 76 static inline uint8_t inb(uint16_t port)76 static inline uint8_t pio_read_8(uint16_t port) 77 77 { 78 78 uint8_t val; … … 89 89 * @param val Value to write 90 90 */ 91 static inline void outb(uint16_t port, uint8_t val)91 static inline void pio_write_8(uint16_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.