Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs
msp_regops.h File Reference
#include <linux/types.h>
#include <asm/war.h>

Go to the source code of this file.

Macros

#define R10000_LLSC_WAR   0
 
#define __beqz   "beqz "
 
#define custom_read_reg32(address, tmp)
 
#define custom_write_reg32(address, tmp)
 

Typedefs

typedef unsigned int u32
 

Macro Definition Documentation

#define __beqz   "beqz "

Definition at line 61 of file msp_regops.h.

#define custom_read_reg32 (   address,
  tmp 
)
Value:
__asm__ __volatile__( \
" .set push \n" \
" .set mips3 \n" \
"1: ll %0, %1 #custom_read_reg32 \n" \
" .set pop \n" \
: "=r" (tmp), "=m" (*address) \
: "m" (*address))

Definition at line 216 of file msp_regops.h.

#define custom_write_reg32 (   address,
  tmp 
)
Value:
__asm__ __volatile__( \
" .set push \n" \
" .set mips3 \n" \
" sc %0, %1 #custom_write_reg32 \n" \
" "__beqz"%0, 1b \n" \
" nop \n" \
" .set pop \n" \
: "=&r" (tmp), "=m" (*address) \
: "0" (tmp), "m" (*address))

Definition at line 225 of file msp_regops.h.

#define R10000_LLSC_WAR   0

Definition at line 55 of file msp_regops.h.

Typedef Documentation

typedef unsigned int u32

Definition at line 65 of file msp_regops.h.