Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/powerpc/genassym.c
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | |||||
ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread)); | ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread)); | ||||
ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb)); | ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb)); | ||||
ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap)); | ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap)); | ||||
ASSYM(PC_TEMPSAVE, offsetof(struct pcpu, pc_tempsave)); | ASSYM(PC_TEMPSAVE, offsetof(struct pcpu, pc_tempsave)); | ||||
ASSYM(PC_DISISAVE, offsetof(struct pcpu, pc_disisave)); | ASSYM(PC_DISISAVE, offsetof(struct pcpu, pc_disisave)); | ||||
ASSYM(PC_DBSAVE, offsetof(struct pcpu, pc_dbsave)); | ASSYM(PC_DBSAVE, offsetof(struct pcpu, pc_dbsave)); | ||||
ASSYM(PC_RESTORE, offsetof(struct pcpu, pc_restore)); | ASSYM(PC_RESTORE, offsetof(struct pcpu, pc_restore)); | ||||
ASSYM(PC_FLAGS, offsetof(struct pcpu, pc_flags)); | |||||
#if defined(BOOKE) | #if defined(BOOKE) | ||||
ASSYM(PC_BOOKE_CRITSAVE, offsetof(struct pcpu, pc_booke.critsave)); | ASSYM(PC_BOOKE_CRITSAVE, offsetof(struct pcpu, pc_booke.critsave)); | ||||
ASSYM(PC_BOOKE_MCHKSAVE, offsetof(struct pcpu, pc_booke.mchksave)); | ASSYM(PC_BOOKE_MCHKSAVE, offsetof(struct pcpu, pc_booke.mchksave)); | ||||
ASSYM(PC_BOOKE_TLBSAVE, offsetof(struct pcpu, pc_booke.tlbsave)); | ASSYM(PC_BOOKE_TLBSAVE, offsetof(struct pcpu, pc_booke.tlbsave)); | ||||
ASSYM(PC_BOOKE_TLB_LEVEL, offsetof(struct pcpu, pc_booke.tlb_level)); | ASSYM(PC_BOOKE_TLB_LEVEL, offsetof(struct pcpu, pc_booke.tlb_level)); | ||||
ASSYM(PC_BOOKE_TLB_LOCK, offsetof(struct pcpu, pc_booke.tlb_lock)); | ASSYM(PC_BOOKE_TLB_LOCK, offsetof(struct pcpu, pc_booke.tlb_lock)); | ||||
#endif | #endif | ||||
Show All 26 Lines | |||||
ASSYM(TLBSAVE_BOOKE_R27, TLBSAVE_BOOKE_R27*sizeof(register_t)); | ASSYM(TLBSAVE_BOOKE_R27, TLBSAVE_BOOKE_R27*sizeof(register_t)); | ||||
ASSYM(TLBSAVE_BOOKE_R28, TLBSAVE_BOOKE_R28*sizeof(register_t)); | ASSYM(TLBSAVE_BOOKE_R28, TLBSAVE_BOOKE_R28*sizeof(register_t)); | ||||
ASSYM(TLBSAVE_BOOKE_R29, TLBSAVE_BOOKE_R29*sizeof(register_t)); | ASSYM(TLBSAVE_BOOKE_R29, TLBSAVE_BOOKE_R29*sizeof(register_t)); | ||||
ASSYM(TLBSAVE_BOOKE_R30, TLBSAVE_BOOKE_R30*sizeof(register_t)); | ASSYM(TLBSAVE_BOOKE_R30, TLBSAVE_BOOKE_R30*sizeof(register_t)); | ||||
ASSYM(TLBSAVE_BOOKE_R31, TLBSAVE_BOOKE_R31*sizeof(register_t)); | ASSYM(TLBSAVE_BOOKE_R31, TLBSAVE_BOOKE_R31*sizeof(register_t)); | ||||
ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock)); | ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock)); | ||||
ASSYM(PC_FLAG_NOSRS, PC_FLAG_NOSRS); | |||||
#if defined(AIM) | #if defined(AIM) | ||||
ASSYM(USER_ADDR, USER_ADDR); | ASSYM(USER_ADDR, USER_ADDR); | ||||
#ifdef __powerpc64__ | #ifdef __powerpc64__ | ||||
ASSYM(PC_KERNSLB, offsetof(struct pcpu, pc_aim.slb)); | ASSYM(PC_KERNSLB, offsetof(struct pcpu, pc_aim.slb)); | ||||
ASSYM(PC_USERSLB, offsetof(struct pcpu, pc_aim.userslb)); | ASSYM(PC_USERSLB, offsetof(struct pcpu, pc_aim.userslb)); | ||||
ASSYM(PC_SLBSAVE, offsetof(struct pcpu, pc_aim.slbsave)); | ASSYM(PC_SLBSAVE, offsetof(struct pcpu, pc_aim.slbsave)); | ||||
ASSYM(PC_SLBSTACK, offsetof(struct pcpu, pc_aim.slbstack)); | ASSYM(PC_SLBSTACK, offsetof(struct pcpu, pc_aim.slbstack)); | ||||
ASSYM(USER_SLB_SLOT, USER_SLB_SLOT); | ASSYM(USER_SLB_SLOT, USER_SLB_SLOT); | ||||
▲ Show 20 Lines • Show All 165 Lines • Show Last 20 Lines |