Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
hazards.h File Reference
#include <asm/cpu-features.h>

Go to the source code of this file.

Macros

#define ASMMACRO(name, code...)
 
#define instruction_hazard()   do { } while (0)
 

Functions

void mips_ihb (void)
 
 ASMMACRO (_ssnop, sll $0, $0, 1) ASMMACRO(_ehb
 
 ASMMACRO (mtc0_tlbw_hazard, nop;nop) ASMMACRO(tlbw_use_hazard
 
nop ASMMACRO (tlb_probe_hazard, nop;nop;nop) ASMMACRO(irq_enable_hazard
 
 ASMMACRO (irq_disable_hazard, nop;nop;nop) ASMMACRO(back_to_back_c0_hazard
 
 ASMMACRO (enable_fpu_hazard, nop;nop;nop;nop) ASMMACRO(disable_fpu_hazard
 

Variables

 sll
 
 nop
 
nop _ssnop
 

Macro Definition Documentation

#define ASMMACRO (   name,
  code... 
)
Value:
__asm__(".macro " #name "; " #code "; .endm"); \
\
static inline void name(void) \
{ \
__asm__ __volatile__ (#name); \
}

Definition at line 19 of file hazards.h.

#define instruction_hazard ( )    do { } while (0)

Definition at line 238 of file hazards.h.

Function Documentation

ASMMACRO ( _ssnop  ,
sll  $0,
  $0,
 
)
ASMMACRO ( mtc0_tlbw_hazard  ,
nop nop 
)
nop ASMMACRO ( tlb_probe_hazard  ,
nop;nop nop 
)
ASMMACRO ( irq_disable_hazard  ,
nop;nop nop 
)
ASMMACRO ( enable_fpu_hazard  ,
nop;nop;nop nop 
)
void mips_ihb ( void  )

Variable Documentation

_ssnop

Definition at line 230 of file hazards.h.

nop

Definition at line 224 of file hazards.h.

sll

Definition at line 39 of file hazards.h.