Changeset 7bdd725 in mainline
- Timestamp:
- 2009-02-21T20:36:37Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 21df2e5
- Parents:
- bffa876e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/asm.h
rbffa876e r7bdd725 78 78 static inline void pio_write_8(ioport8_t *port, uint8_t v) 79 79 { 80 /* XXX */ 80 *port = v; 81 } 82 83 static inline void pio_write_16(ioport16_t *port, uint16_t v) 84 { 85 *port = v; 86 } 87 88 static inline void pio_write_32(ioport32_t *port, uint32_t v) 89 { 90 *port = v; 81 91 } 82 92 83 93 static inline uint8_t pio_read_8(ioport8_t *port) 84 94 { 85 return 0; /* XXX */ 95 return *port; 96 } 97 98 static inline uint16_t pio_read_16(ioport16_t *port) 99 { 100 return *port; 101 } 102 103 static inline uint32_t pio_read_32(ioport32_t *port) 104 { 105 return *port; 86 106 } 87 107
Note:
See TracChangeset
for help on using the changeset viewer.