Changeset 0ab362c in mainline for uspace/lib/c/arch/abs32le/include/ddi.h
- Timestamp:
- 2012-11-22T14:36:04Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e32720ff
- Parents:
- 1f7753a (diff), 0f2c80a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/abs32le/include/ddi.h
r1f7753a r0ab362c 36 36 #include <libarch/types.h> 37 37 38 static inline void pio_write_8(ioport8_t *port, uint8_t v)38 static inline void arch_pio_write_8(ioport8_t *port, uint8_t v) 39 39 { 40 40 *port = v; 41 41 } 42 42 43 static inline void pio_write_16(ioport16_t *port, uint16_t v)43 static inline void arch_pio_write_16(ioport16_t *port, uint16_t v) 44 44 { 45 45 *port = v; 46 46 } 47 47 48 static inline void pio_write_32(ioport32_t *port, uint32_t v)48 static inline void arch_pio_write_32(ioport32_t *port, uint32_t v) 49 49 { 50 50 *port = v; 51 51 } 52 52 53 static inline uint8_t pio_read_8(ioport8_t *port)53 static inline uint8_t arch_pio_read_8(const ioport8_t *port) 54 54 { 55 55 return *port; 56 56 } 57 57 58 static inline uint16_t pio_read_16(ioport16_t *port)58 static inline uint16_t arch_pio_read_16(const ioport16_t *port) 59 59 { 60 60 return *port; 61 61 } 62 62 63 static inline uint32_t pio_read_32(ioport32_t *port)63 static inline uint32_t arch_pio_read_32(const ioport32_t *port) 64 64 { 65 65 return *port;
Note:
See TracChangeset
for help on using the changeset viewer.