summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/pcpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include/pcpu.h')
-rw-r--r--sys/powerpc/include/pcpu.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/powerpc/include/pcpu.h b/sys/powerpc/include/pcpu.h
index 79b2d96..2c79cd6 100644
--- a/sys/powerpc/include/pcpu.h
+++ b/sys/powerpc/include/pcpu.h
@@ -35,6 +35,7 @@
#include <machine/tlb.h>
struct pmap;
+struct pvo_entry;
#define CPUSAVE_LEN 9
#define PCPU_MD_COMMON_FIELDS \
@@ -53,6 +54,9 @@ struct pmap;
void *pc_restore;
#define PCPU_MD_AIM32_FIELDS \
+ vm_offset_t pc_qmap_addr; \
+ struct pvo_entry *pc_qmap_pvo; \
+ struct mtx pc_qmap_lock; \
/* char __pad[0] */
#define PCPU_MD_AIM64_FIELDS \
@@ -60,7 +64,10 @@ struct pmap;
struct slb **pc_userslb; \
register_t pc_slbsave[18]; \
uint8_t pc_slbstack[1024]; \
- char __pad[1137]
+ vm_offset_t pc_qmap_addr; \
+ struct pvo_entry *pc_qmap_pvo; \
+ struct mtx pc_qmap_lock; \
+ char __pad[1121 - sizeof(struct mtx)]
#ifdef __powerpc64__
#define PCPU_MD_AIM_FIELDS PCPU_MD_AIM64_FIELDS
@@ -78,9 +85,10 @@ struct pmap;
register_t pc_booke_mchksave[CPUSAVE_LEN]; \
register_t pc_booke_tlbsave[BOOKE_TLBSAVE_LEN]; \
register_t pc_booke_tlb_level; \
+ vm_offset_t pc_qmap_addr; \
uint32_t *pc_booke_tlb_lock; \
int pc_tid_next; \
- char __pad[173]
+ char __pad[165]
/* Definitions for register offsets within the exception tmp save areas */
#define CPUSAVE_R27 0 /* where r27 gets saved */
OpenPOWER on IntegriCloud