Changeset 371bd7d in mainline for kernel/arch/ppc32/include/asm.h


Ignore:
Timestamp:
2010-03-27T09:22:17Z (16 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36a75a2
Parents:
cd82bb1 (diff), eaf22d4 (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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    rcd82bb1 r371bd7d  
    2727 */
    2828
    29 /** @addtogroup ppc32   
     29/** @addtogroup ppc32
    3030 * @{
    3131 */
     
    3636#define KERN_ppc32_ASM_H_
    3737
    38 #include <arch/types.h>
    3938#include <typedefs.h>
    4039#include <config.h>
     
    146145}
    147146
    148 void cpu_halt(void);
    149 void asm_delay_loop(uint32_t t);
    150 
     147extern void cpu_halt(void) __attribute__((noreturn));
     148extern void asm_delay_loop(uint32_t t);
    151149extern void userspace_asm(uintptr_t uspace_uarg, uintptr_t stack, uintptr_t entry);
    152150
    153151static inline void pio_write_8(ioport8_t *port, uint8_t v)
    154152{
    155         *port = v;     
     153        *port = v;
    156154}
    157155
    158156static inline void pio_write_16(ioport16_t *port, uint16_t v)
    159157{
    160         *port = v;     
     158        *port = v;
    161159}
    162160
    163161static inline void pio_write_32(ioport32_t *port, uint32_t v)
    164162{
    165         *port = v;     
     163        *port = v;
    166164}
    167165
    168166static inline uint8_t pio_read_8(ioport8_t *port)
    169167{
    170         return *port; 
     168        return *port;
    171169}
    172170
    173171static inline uint16_t pio_read_16(ioport16_t *port)
    174172{
    175         return *port; 
     173        return *port;
    176174}
    177175
    178176static inline uint32_t pio_read_32(ioport32_t *port)
    179177{
    180         return *port; 
     178        return *port;
    181179}
    182180
Note: See TracChangeset for help on using the changeset viewer.