HPCToolkit
specific-ucontext-manip.h File Reference
#include <ucontext.h>
#include <lib/isa-lean/power/instruction-set.h>
Include dependency graph for specific-ucontext-manip.h:

Go to the source code of this file.

Macros

#define UC_REGS(uc, reg)   (uc.uc_mcontext.gp_regs[reg])
 
#define UC_REG_IP(uc)   UC_REGS(uc, PPC_REG_PC)
 
#define UC_REG_FP(uc)   UC_REGS(uc, PPC_REG_FP)
 
#define UC_REG_SP(uc)   UC_REGS(uc, PPC_REG_SP)
 

Macro Definition Documentation

◆ UC_REG_FP

#define UC_REG_FP (   uc)    UC_REGS(uc, PPC_REG_FP)

Definition at line 14 of file specific-ucontext-manip.h.

◆ UC_REG_IP

#define UC_REG_IP (   uc)    UC_REGS(uc, PPC_REG_PC)

Definition at line 13 of file specific-ucontext-manip.h.

◆ UC_REG_SP

#define UC_REG_SP (   uc)    UC_REGS(uc, PPC_REG_SP)

Definition at line 15 of file specific-ucontext-manip.h.

◆ UC_REGS

#define UC_REGS (   uc,
  reg 
)    (uc.uc_mcontext.gp_regs[reg])

Definition at line 10 of file specific-ucontext-manip.h.