Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mca_asm.h File Reference
#include <asm/percpu.h>

Go to the source code of this file.

Macros

#define PSR_IC   13
 
#define PSR_I   14
 
#define PSR_DT   17
 
#define PSR_RT   27
 
#define PSR_MC   35
 
#define PSR_IT   36
 
#define PSR_BN   44
 
#define INST_VA_TO_PA(addr)   dep addr = 0, addr, 61, 3
 
#define DATA_VA_TO_PA(addr)   tpa addr = addr
 
#define DATA_PA_TO_VA(addr, temp)
 
#define GET_THIS_PADDR(reg, var)
 
#define PHYSICAL_MODE_ENTER(temp1, temp2, start_addr, old_psr)
 
#define VIRTUAL_MODE_ENTER(temp1, temp2, start_addr, old_psr)
 
#define ALIGN16(x)   ((x)&~15)
 
#define MCA_PT_REGS_OFFSET   ALIGN16(KERNEL_STACK_SIZE-IA64_PT_REGS_SIZE)
 
#define MCA_SWITCH_STACK_OFFSET   ALIGN16(MCA_PT_REGS_OFFSET-IA64_SWITCH_STACK_SIZE)
 
#define MCA_SOS_OFFSET   ALIGN16(MCA_SWITCH_STACK_OFFSET-IA64_SAL_OS_STATE_SIZE)
 
#define MCA_SP_OFFSET   ALIGN16(MCA_SOS_OFFSET-16)
 

Macro Definition Documentation

#define ALIGN16 (   x)    ((x)&~15)

Definition at line 238 of file mca_asm.h.

#define DATA_PA_TO_VA (   addr,
  temp 
)
Value:
mov temp = 0x7 ;; \
dep addr = temp, addr, 61, 3

Definition at line 50 of file mca_asm.h.

#define DATA_VA_TO_PA (   addr)    tpa addr = addr

Definition at line 42 of file mca_asm.h.

#define GET_THIS_PADDR (   reg,
  var 
)
Value:
mov reg = IA64_KR(PER_CPU_DATA);; \
addl reg = THIS_CPU(var), reg

Definition at line 54 of file mca_asm.h.

#define INST_VA_TO_PA (   addr)    dep addr = 0, addr, 61, 3

Definition at line 34 of file mca_asm.h.

#define MCA_PT_REGS_OFFSET   ALIGN16(KERNEL_STACK_SIZE-IA64_PT_REGS_SIZE)

Definition at line 239 of file mca_asm.h.

#define MCA_SOS_OFFSET   ALIGN16(MCA_SWITCH_STACK_OFFSET-IA64_SAL_OS_STATE_SIZE)

Definition at line 241 of file mca_asm.h.

#define MCA_SP_OFFSET   ALIGN16(MCA_SOS_OFFSET-16)

Definition at line 242 of file mca_asm.h.

#define MCA_SWITCH_STACK_OFFSET   ALIGN16(MCA_PT_REGS_OFFSET-IA64_SWITCH_STACK_SIZE)

Definition at line 240 of file mca_asm.h.

#define PHYSICAL_MODE_ENTER (   temp1,
  temp2,
  start_addr,
  old_psr 
)

Definition at line 82 of file mca_asm.h.

#define PSR_BN   44

Definition at line 26 of file mca_asm.h.

#define PSR_DT   17

Definition at line 22 of file mca_asm.h.

#define PSR_I   14

Definition at line 21 of file mca_asm.h.

#define PSR_IC   13

Definition at line 20 of file mca_asm.h.

#define PSR_IT   36

Definition at line 25 of file mca_asm.h.

#define PSR_MC   35

Definition at line 24 of file mca_asm.h.

#define PSR_RT   27

Definition at line 23 of file mca_asm.h.

#define VIRTUAL_MODE_ENTER (   temp1,
  temp2,
  start_addr,
  old_psr 
)

Definition at line 162 of file mca_asm.h.