Set the PMC trapframe macros appropriately

MFC after:	2 weeks
This commit is contained in:
Justin Hibbits 2013-12-22 00:04:50 +00:00
parent 78c161f25d
commit 1c8eb4c44b

View File

@ -28,8 +28,8 @@ union pmc_md_pmc {
struct pmc_md_powerpc_pmc pm_powerpc;
};
#define PMC_TRAPFRAME_TO_PC(TF) (0) /* Stubs */
#define PMC_TRAPFRAME_TO_FP(TF) (0)
#define PMC_TRAPFRAME_TO_PC(TF) ((TF)->srr0)
#define PMC_TRAPFRAME_TO_FP(TF) ((TF)->fixreg[1])
#define PMC_TRAPFRAME_TO_SP(TF) (0)
#endif