Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
processor.h File Reference
#include <asm/reg.h>
#include <linux/compiler.h>
#include <linux/cache.h>
#include <asm/ptrace.h>
#include <asm/types.h>

Go to the source code of this file.

Macros

#define TS_FPRWIDTH   1
 
#define _PREP_Motorola   0x01 /* motorola prep */
 
#define _PREP_Firm   0x02 /* firmworks prep */
 
#define _PREP_IBM   0x00 /* ibm prep */
 
#define _PREP_Bull   0x03 /* bull prep */
 
#define _CHRP_Motorola   0x04 /* motorola chrp, the cobra */
 
#define _CHRP_IBM   0x05 /* IBM chrp, the longtrail and longtrail 2 */
 
#define _CHRP_Pegasos   0x06 /* Genesi/bplan's Pegasos and Pegasos2 */
 
#define _CHRP_briq   0x07 /* TotalImpact's briQ */
 
#define current_text_addr()   ({ __label__ _l; _l: &&_l;})
 
#define HMT_very_low()   asm volatile("or 31,31,31 # very low priority")
 
#define HMT_low()   asm volatile("or 1,1,1 # low priority")
 
#define HMT_medium_low()   asm volatile("or 6,6,6 # medium low priority")
 
#define HMT_medium()   asm volatile("or 2,2,2 # medium priority")
 
#define HMT_medium_high()   asm volatile("or 5,5,5 # medium high priority")
 
#define HMT_high()   asm volatile("or 3,3,3 # high priority")
 

Macro Definition Documentation

#define _CHRP_briq   0x07 /* TotalImpact's briQ */

Definition at line 42 of file processor.h.

#define _CHRP_IBM   0x05 /* IBM chrp, the longtrail and longtrail 2 */

Definition at line 40 of file processor.h.

#define _CHRP_Motorola   0x04 /* motorola chrp, the cobra */

Definition at line 39 of file processor.h.

#define _CHRP_Pegasos   0x06 /* Genesi/bplan's Pegasos and Pegasos2 */

Definition at line 41 of file processor.h.

#define _PREP_Bull   0x03 /* bull prep */

Definition at line 36 of file processor.h.

#define _PREP_Firm   0x02 /* firmworks prep */

Definition at line 34 of file processor.h.

#define _PREP_IBM   0x00 /* ibm prep */

Definition at line 35 of file processor.h.

#define _PREP_Motorola   0x01 /* motorola prep */

Definition at line 33 of file processor.h.

#define current_text_addr (   void)    ({ __label__ _l; _l: &&_l;})

Definition at line 61 of file processor.h.

#define HMT_high ( )    asm volatile("or 3,3,3 # high priority")

Definition at line 69 of file processor.h.

#define HMT_low ( )    asm volatile("or 1,1,1 # low priority")

Definition at line 65 of file processor.h.

#define HMT_medium ( )    asm volatile("or 2,2,2 # medium priority")

Definition at line 67 of file processor.h.

#define HMT_medium_high ( )    asm volatile("or 5,5,5 # medium high priority")

Definition at line 68 of file processor.h.

#define HMT_medium_low ( )    asm volatile("or 6,6,6 # medium low priority")

Definition at line 66 of file processor.h.

#define HMT_very_low ( )    asm volatile("or 31,31,31 # very low priority")

Definition at line 64 of file processor.h.

#define TS_FPRWIDTH   1

Definition at line 18 of file processor.h.