Ignore:
File:
1 edited

Legend:

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

    r82474ef rc22e964  
    2727 */
    2828
    29 /** @addtogroup ppc32
     29/** @addtogroup ppc32   
    3030 * @{
    3131 */
     
    146146}
    147147
    148 extern void cpu_halt(void) __attribute__((noreturn));
    149 extern void asm_delay_loop(uint32_t t);
     148void cpu_halt(void);
     149void asm_delay_loop(uint32_t t);
     150
    150151extern void userspace_asm(uintptr_t uspace_uarg, uintptr_t stack, uintptr_t entry);
    151152
    152153static inline void pio_write_8(ioport8_t *port, uint8_t v)
    153154{
    154         *port = v;
     155        *port = v;     
    155156}
    156157
    157158static inline void pio_write_16(ioport16_t *port, uint16_t v)
    158159{
    159         *port = v;
     160        *port = v;     
    160161}
    161162
    162163static inline void pio_write_32(ioport32_t *port, uint32_t v)
    163164{
    164         *port = v;
     165        *port = v;     
    165166}
    166167
    167168static inline uint8_t pio_read_8(ioport8_t *port)
    168169{
    169         return *port;
     170        return *port; 
    170171}
    171172
    172173static inline uint16_t pio_read_16(ioport16_t *port)
    173174{
    174         return *port;
     175        return *port; 
    175176}
    176177
    177178static inline uint32_t pio_read_32(ioport32_t *port)
    178179{
    179         return *port;
     180        return *port; 
    180181}
    181182
Note: See TracChangeset for help on using the changeset viewer.