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

Go to the source code of this file.

Data Structures

struct  hvm_event_record
 
struct  pt_regs
 

Macros

#define SP   r29
 
#define pt_elr(regs)   ((regs)->hvmer.vmel)
 
#define pt_set_elr(regs, val)   ((regs)->hvmer.vmel = (val))
 
#define pt_cause(regs)   ((regs)->hvmer.vmest & (HVM_VMEST_CAUSE_MSK))
 
#define user_mode(regs)   (((regs)->hvmer.vmest & (HVM_VMEST_UM_MSK << HVM_VMEST_UM_SFT)) != 0)
 
#define ints_enabled(regs)   (((regs)->hvmer.vmest & (HVM_VMEST_IE_MSK << HVM_VMEST_IE_SFT)) != 0)
 
#define pt_psp(regs)   ((regs)->hvmer.vmpsp)
 
#define pt_badva(regs)   ((regs)->hvmer.vmbadva)
 
#define pt_set_rte_sp(regs, sp)
 
#define pt_set_kmode(regs)   (regs)->hvmer.vmest = (HVM_VMEST_IE_MSK << HVM_VMEST_IE_SFT)
 
#define pt_set_usermode(regs)
 

Macro Definition Documentation

#define ints_enabled (   regs)    (((regs)->hvmer.vmest & (HVM_VMEST_IE_MSK << HVM_VMEST_IE_SFT)) != 0)

Definition at line 202 of file registers.h.

#define pt_badva (   regs)    ((regs)->hvmer.vmbadva)

Definition at line 205 of file registers.h.

#define pt_cause (   regs)    ((regs)->hvmer.vmest & (HVM_VMEST_CAUSE_MSK))

Definition at line 199 of file registers.h.

#define pt_elr (   regs)    ((regs)->hvmer.vmel)

Definition at line 197 of file registers.h.

#define pt_psp (   regs)    ((regs)->hvmer.vmpsp)

Definition at line 204 of file registers.h.

#define pt_set_elr (   regs,
  val 
)    ((regs)->hvmer.vmel = (val))

Definition at line 198 of file registers.h.

#define pt_set_kmode (   regs)    (regs)->hvmer.vmest = (HVM_VMEST_IE_MSK << HVM_VMEST_IE_SFT)

Definition at line 212 of file registers.h.

#define pt_set_rte_sp (   regs,
  sp 
)
Value:
do {\
pt_psp(regs) = (sp);\
(regs)->SP = (unsigned long) &((regs)->hvmer);\
} while (0)

Definition at line 207 of file registers.h.

#define pt_set_usermode (   regs)
Value:

Definition at line 215 of file registers.h.

#define SP   r29

Definition at line 9 of file registers.h.

#define user_mode (   regs)    (((regs)->hvmer.vmest & (HVM_VMEST_UM_MSK << HVM_VMEST_UM_SFT)) != 0)

Definition at line 200 of file registers.h.