Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mtd-xip.h File Reference
#include <mach/regs-ost.h>

Go to the source code of this file.

Macros

#define xip_irqpending()   (ICIP & ICMR)
 
#define xip_currtime()   (OSCR)
 
#define xip_elapsed_since(x)   (signed)((OSCR - (x)) / 4)
 
#define xip_cpu_idle()   asm volatile ("mcr p14, 0, %0, c7, c0, 0" :: "r" (1))
 

Macro Definition Documentation

#define xip_cpu_idle ( )    asm volatile ("mcr p14, 0, %0, c7, c0, 0" :: "r" (1))

Definition at line 33 of file mtd-xip.h.

#define xip_currtime ( )    (OSCR)

Definition at line 23 of file mtd-xip.h.

#define xip_elapsed_since (   x)    (signed)((OSCR - (x)) / 4)

Definition at line 24 of file mtd-xip.h.

#define xip_irqpending ( )    (ICIP & ICMR)

Definition at line 20 of file mtd-xip.h.