Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
movs.h File Reference

Go to the source code of this file.

Macros

#define SET_DFC(x)   __asm__ __volatile__ (" movec %0,%/dfc" : : "d" (x));
 
#define GET_DFC(x)   __asm__ __volatile__ (" movec %/dfc, %0" : "=d" (x) : );
 
#define SET_SFC(x)   __asm__ __volatile__ (" movec %0,%/sfc" : : "d" (x));
 
#define GET_SFC(x)   __asm__ __volatile__ (" movec %/sfc, %0" : "=d" (x) : );
 
#define SET_VBR(x)   __asm__ __volatile__ (" movec %0,%/vbr" : : "r" (x));
 
#define GET_VBR(x)   __asm__ __volatile__ (" movec %/vbr, %0" : "=g" (x) : );
 
#define SET_CONTROL_BYTE(addr, value)   __asm__ __volatile__ (" movsb %0, %1@" : : "d" (value), "a" (addr));
 
#define GET_CONTROL_BYTE(addr, value)   __asm__ __volatile__ (" movsb %1@, %0" : "=d" (value) : "a" (addr));
 
#define SET_CONTROL_WORD(addr, value)   __asm__ __volatile__ (" movsl %0, %1@" : : "d" (value), "a" (addr));
 
#define GET_CONTROL_WORD(addr, value)   __asm__ __volatile__ (" movsl %1@, %0" : "=d" (value) : "a" (addr));
 

Macro Definition Documentation

#define GET_CONTROL_BYTE (   addr,
  value 
)    __asm__ __volatile__ (" movsb %1@, %0" : "=d" (value) : "a" (addr));

Definition at line 43 of file movs.h.

#define GET_CONTROL_WORD (   addr,
  value 
)    __asm__ __volatile__ (" movsl %1@, %0" : "=d" (value) : "a" (addr));

Definition at line 53 of file movs.h.

#define GET_DFC (   x)    __asm__ __volatile__ (" movec %/dfc, %0" : "=d" (x) : );

Definition at line 17 of file movs.h.

#define GET_SFC (   x)    __asm__ __volatile__ (" movec %/sfc, %0" : "=d" (x) : );

Definition at line 27 of file movs.h.

#define GET_VBR (   x)    __asm__ __volatile__ (" movec %/vbr, %0" : "=g" (x) : );

Definition at line 33 of file movs.h.

#define SET_CONTROL_BYTE (   addr,
  value 
)    __asm__ __volatile__ (" movsb %0, %1@" : : "d" (value), "a" (addr));

Definition at line 38 of file movs.h.

#define SET_CONTROL_WORD (   addr,
  value 
)    __asm__ __volatile__ (" movsl %0, %1@" : : "d" (value), "a" (addr));

Definition at line 48 of file movs.h.

#define SET_DFC (   x)    __asm__ __volatile__ (" movec %0,%/dfc" : : "d" (x));

Definition at line 12 of file movs.h.

#define SET_SFC (   x)    __asm__ __volatile__ (" movec %0,%/sfc" : : "d" (x));

Definition at line 22 of file movs.h.

#define SET_VBR (   x)    __asm__ __volatile__ (" movec %0,%/vbr" : : "r" (x));

Definition at line 30 of file movs.h.