Changeset 1e23e16 in mainline for kernel/arch/arm32/include/asm.h
- Timestamp:
- 2009-02-21T19:18:58Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 00eace3
- Parents:
- 9688513
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/asm.h
r9688513 r1e23e16 49 49 static inline void pio_write_8(ioport8_t *port, uint8_t v) 50 50 { 51 /* XXX */ 51 *port = v; 52 } 53 54 static inline void pio_write_16(ioport16_t *port, uint16_t v) 55 { 56 *port = v; 57 } 58 59 static inline void pio_write_32(ioport32_t *port, uint32_t v) 60 { 61 *port = v; 52 62 } 53 63 54 64 static inline uint8_t pio_read_8(ioport8_t *port) 55 65 { 56 return 0; /* XXX */ 66 return *port; 67 } 68 69 static inline uint16_t pio_read_16(ioport16_t *port) 70 { 71 return *port; 72 } 73 74 static inline uint32_t pio_read_32(ioport32_t *port) 75 { 76 return *port; 57 77 } 58 78
Note:
See TracChangeset
for help on using the changeset viewer.