Changeset 7d60cf5 in mainline for kernel/arch/mips32/include/asm.h


Ignore:
Timestamp:
2009-02-19T21:58:37Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5cb223f
Parents:
4b44099d
Message:

Introduce ioport8_t, ioport16_t and ioport32_t. These types are to be used with
pio_read_n() and pio_write_n() functions. This breaks everything.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/include/asm.h

    r4b44099d r7d60cf5  
    7676extern void asm_delay_loop(uint32_t t);
    7777
    78 static inline void pio_write_8(ioport_t port, uint8_t v)
     78static inline void pio_write_8(ioport8_t *port, uint8_t v)
    7979{
    8080        /* XXX */
    8181}
    8282
    83 static inline uint8_t pio_read_8(ioport_t port)
     83static inline uint8_t pio_read_8(ioport8_t *port)
    8484{
    8585        return 0;       /* XXX */
Note: See TracChangeset for help on using the changeset viewer.