Changeset e78136a in mainline
- Timestamp:
- 2009-02-21T21:15:12Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7919cd5
- Parents:
- 0c33687a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/asm.h
r0c33687a re78136a 152 152 static inline void pio_write_8(ioport8_t *port, uint8_t v) 153 153 { 154 /* XXX */ 154 *port = v; 155 } 156 157 static inline void pio_write_16(ioport16_t *port, uint16_t v) 158 { 159 *port = v; 160 } 161 162 static inline void pio_write_32(ioport32_t *port, uint32_t v) 163 { 164 *port = v; 155 165 } 156 166 157 167 static inline uint8_t pio_read_8(ioport8_t *port) 158 168 { 159 return 0; /* XXX */ 169 return *port; 170 } 171 172 static inline uint16_t pio_read_16(ioport16_t *port) 173 { 174 return *port; 175 } 176 177 static inline uint32_t pio_read_32(ioport32_t *port) 178 { 179 return *port; 160 180 } 161 181
Note:
See TracChangeset
for help on using the changeset viewer.