Ignore:
File:
1 edited

Legend:

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

    rd99c1d2 rc22e964  
    2727 */
    2828
    29 /** @addtogroup ppc32
     29/** @addtogroup ppc32   
    3030 * @{
    3131 */
     
    3636#define KERN_ppc32_ASM_H_
    3737
     38#include <arch/types.h>
    3839#include <typedefs.h>
    3940#include <config.h>
     
    145146}
    146147
    147 extern void cpu_halt(void) __attribute__((noreturn));
    148 extern void asm_delay_loop(uint32_t t);
     148void cpu_halt(void);
     149void asm_delay_loop(uint32_t t);
     150
    149151extern void userspace_asm(uintptr_t uspace_uarg, uintptr_t stack, uintptr_t entry);
    150152
    151153static inline void pio_write_8(ioport8_t *port, uint8_t v)
    152154{
    153         *port = v;
     155        *port = v;     
    154156}
    155157
    156158static inline void pio_write_16(ioport16_t *port, uint16_t v)
    157159{
    158         *port = v;
     160        *port = v;     
    159161}
    160162
    161163static inline void pio_write_32(ioport32_t *port, uint32_t v)
    162164{
    163         *port = v;
     165        *port = v;     
    164166}
    165167
    166168static inline uint8_t pio_read_8(ioport8_t *port)
    167169{
    168         return *port;
     170        return *port; 
    169171}
    170172
    171173static inline uint16_t pio_read_16(ioport16_t *port)
    172174{
    173         return *port;
     175        return *port; 
    174176}
    175177
    176178static inline uint32_t pio_read_32(ioport32_t *port)
    177179{
    178         return *port;
     180        return *port; 
    179181}
    180182
Note: See TracChangeset for help on using the changeset viewer.