Home
last modified time | relevance | path

Searched refs:vsidBase (Results 1 – 2 of 2) sorted by relevance

/haiku/src/system/kernel/arch/ppc/paging/classic/
H A DPPCVMTranslationMapClassic.cpp117 #define VADDR_TO_VSID(vsidBase, vaddr) (vsidBase + ((vaddr) >> 28)) argument
267 int vsidBase = VSIDBase(); in ChangeASID() local
270 asm("mtsr 0,%0" : : "g"(vsidBase)); in ChangeASID()
271 asm("mtsr 1,%0" : : "g"(vsidBase + 1)); in ChangeASID()
272 asm("mtsr 2,%0" : : "g"(vsidBase + 2)); in ChangeASID()
273 asm("mtsr 3,%0" : : "g"(vsidBase + 3)); in ChangeASID()
274 asm("mtsr 4,%0" : : "g"(vsidBase + 4)); in ChangeASID()
275 asm("mtsr 5,%0" : : "g"(vsidBase + 5)); in ChangeASID()
276 asm("mtsr 6,%0" : : "g"(vsidBase + 6)); in ChangeASID()
277 asm("mtsr 7,%0" : : "g"(vsidBase + 7)); in ChangeASID()
/haiku/src/system/kernel/arch/ppc/paging/460/
H A DPPCVMTranslationMap460.cpp117 #define VADDR_TO_VSID(vsidBase, vaddr) (vsidBase + ((vaddr) >> 28)) argument
267 int vsidBase = VSIDBase(); in ChangeASID() local
270 asm("mtsr 0,%0" : : "g"(vsidBase)); in ChangeASID()
271 asm("mtsr 1,%0" : : "g"(vsidBase + 1)); in ChangeASID()
272 asm("mtsr 2,%0" : : "g"(vsidBase + 2)); in ChangeASID()
273 asm("mtsr 3,%0" : : "g"(vsidBase + 3)); in ChangeASID()
274 asm("mtsr 4,%0" : : "g"(vsidBase + 4)); in ChangeASID()
275 asm("mtsr 5,%0" : : "g"(vsidBase + 5)); in ChangeASID()
276 asm("mtsr 6,%0" : : "g"(vsidBase + 6)); in ChangeASID()
277 asm("mtsr 7,%0" : : "g"(vsidBase + 7)); in ChangeASID()