Changeset f988a13 in mainline for kernel/arch/sparc32/include/arch/asm.h
- Timestamp:
- 2013-10-15T17:15:51Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e76fed9
- Parents:
- 4d2dba7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc32/include/arch/asm.h
r4d2dba7 rf988a13 65 65 NO_TRACE static inline void pio_write_8(ioport8_t *port, uint8_t val) 66 66 { 67 *port = val; 67 68 } 68 69 … … 77 78 NO_TRACE static inline void pio_write_16(ioport16_t *port, uint16_t val) 78 79 { 80 *port = val; 79 81 } 80 82 … … 89 91 NO_TRACE static inline void pio_write_32(ioport32_t *port, uint32_t val) 90 92 { 93 *port = val; 91 94 } 92 95 … … 101 104 NO_TRACE static inline uint8_t pio_read_8(ioport8_t *port) 102 105 { 103 return 0;106 return *port; 104 107 } 105 108 … … 114 117 NO_TRACE static inline uint16_t pio_read_16(ioport16_t *port) 115 118 { 116 return 0;119 return *port; 117 120 } 118 121 … … 127 130 NO_TRACE static inline uint32_t pio_read_32(ioport32_t *port) 128 131 { 129 return 0;132 return *port; 130 133 } 131 134
Note:
See TracChangeset
for help on using the changeset viewer.