Changeset b5c2f56 in mainline for uspace/lib/c/generic/ddi.c


Ignore:
Timestamp:
2012-11-04T12:41:53Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d27a9c8f
Parents:
ef93167
Message:

libc: Make pio_read_* accept const ioports.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/ddi.c

    ref93167 rb5c2f56  
    192192}
    193193
    194 uint8_t pio_read_8(ioport8_t *reg)
     194uint8_t pio_read_8(const ioport8_t *reg)
    195195{
    196196        const uint8_t val = arch_pio_read_8(reg);
     
    199199}
    200200
    201 uint16_t pio_read_16(ioport16_t *reg)
     201uint16_t pio_read_16(const ioport16_t *reg)
    202202{
    203203        const uint16_t val = arch_pio_read_16(reg);
     
    206206}
    207207
    208 uint32_t pio_read_32(ioport32_t *reg)
     208uint32_t pio_read_32(const ioport32_t *reg)
    209209{
    210210        const uint32_t val = arch_pio_read_32(reg);
Note: See TracChangeset for help on using the changeset viewer.