|
@@ -140,6 +140,20 @@ int main(void)
|
|
|
context.high_slices_psize));
|
|
|
DEFINE(MMUPSIZEDEFSIZE, sizeof(struct mmu_psize_def));
|
|
|
#endif /* CONFIG_PPC_MM_SLICES */
|
|
|
+
|
|
|
+#ifdef CONFIG_PPC_BOOK3E
|
|
|
+ DEFINE(PACAPGD, offsetof(struct paca_struct, pgd));
|
|
|
+ DEFINE(PACA_KERNELPGD, offsetof(struct paca_struct, kernel_pgd));
|
|
|
+ DEFINE(PACA_EXGEN, offsetof(struct paca_struct, exgen));
|
|
|
+ DEFINE(PACA_EXTLB, offsetof(struct paca_struct, extlb));
|
|
|
+ DEFINE(PACA_EXMC, offsetof(struct paca_struct, exmc));
|
|
|
+ DEFINE(PACA_EXCRIT, offsetof(struct paca_struct, excrit));
|
|
|
+ DEFINE(PACA_EXDBG, offsetof(struct paca_struct, exdbg));
|
|
|
+ DEFINE(PACA_MC_STACK, offsetof(struct paca_struct, mc_kstack));
|
|
|
+ DEFINE(PACA_CRIT_STACK, offsetof(struct paca_struct, crit_kstack));
|
|
|
+ DEFINE(PACA_DBG_STACK, offsetof(struct paca_struct, dbg_kstack));
|
|
|
+#endif /* CONFIG_PPC_BOOK3E */
|
|
|
+
|
|
|
#ifdef CONFIG_PPC_STD_MMU_64
|
|
|
DEFINE(PACASTABREAL, offsetof(struct paca_struct, stab_real));
|
|
|
DEFINE(PACASTABVIRT, offsetof(struct paca_struct, stab_addr));
|