Lines Matching refs:space
140 stwu r1,-(FM_ALIGN((31-17+1)*4)+FM_SIZE)(r1) ; Make some space on the stack
270 lhz r8,mpSpace(r31) ; Get the address space
284 rlwimi r8,r8,14,4,17 ; Double address space
525 stwu r1,-(FM_ALIGN(hrmStackSize)+FM_SIZE)(r1) ; Make some space on the stack
906 lhz r23,mpSpace(r31) ; Get the address space hash
1241 lhz r24,mpSpace(r31) ; Get the address space hash
1271 rlwimi r24,r24,14,4,17 ; Insert a copy of space hash
1362 hrmBTLBj: sldi r2,r27,maxAdrSpb ; Move to make room for address space ID
1437 hrmBTLBlcm: li r2,lgKillResv ; Get space unreserve line
1491 lwz r9,pmapSpace(r28) ; r9 <- guest space ID number
1509 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
1517 mr r7,r4 ; r7 <- current mapping slot's space ID
1518 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
1522 xor r7,r7,r9 ; Compare space ID
1523 or r0,r11,r7 ; r0 <- !(free && space match)
1525 or. r0,r0,r8 ; cr0_eq <- !free && space match && virtual addr match
1534 xor r4,r4,r9 ; Compare space ID
1535 or r0,r11,r4 ; r0 <- !(free && space match)
1537 or. r0,r0,r5 ; cr0_eq <- !free && space match && virtual addr match
1546 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
1554 mr r7,r4 ; r7 <- current mapping slot's space ID
1555 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
1559 xor r7,r7,r9 ; Compare space ID
1560 or r0,r11,r7 ; r0 <- !(free && space match)
1562 or. r0,r0,r8 ; cr0_eq <- !free && space match && virtual addr match
1571 xor r4,r4,r9 ; Compare space ID
1572 or r0,r11,r4 ; r0 <- !(free && space match)
1574 or. r0,r0,r5 ; cr0_eq <- !free && space match && virtual addr match
1745 stwu r1,-(FM_ALIGN(hrmStackSize)+FM_SIZE)(r1) ; Make some space on the stack
1786 lhz r7,mpSpace(r12) ; Get the address space hash
1788 slwi r0,r7,2 ; Multiply space by 4
1790 slwi r7,r7,3 ; Multiply space by 8
1856 stwu r1,-(FM_ALIGN(hrmStackSize)+FM_SIZE)(r1) ; Make some space on the stack
1937 * mapping *hw_purge_space(physent, pmap) - remove a mapping from the system based upon address space
1975 stwu r1,-(FM_ALIGN(hrmStackSize)+FM_SIZE)(r1) ; Make some space on the stack
2020 lwz r8,pmapSpace(r4) ; Get the space hash
2029 lhz r10,mpSpace(r12) ; Get the space
2046 lhz r10,mpSpace(r12) ; Get the space
2123 stwu r1,-(FM_ALIGN(hrmStackSize)+FM_SIZE)(r1) ; Make some space on the stack
2168 lhz r7,mpSpace(r12) ; Get mapping's space id
2173 slwi r9,r7,2 ; Multiply space by 4
2176 slwi r7,r7,3 ; Multiply space by 8
2204 lhz r7,mpSpace(r12) ; Get mapping's space id
2209 slwi r9,r7,2 ; Multiply space by 4
2212 slwi r7,r7,3 ; Multiply space by 8
2234 * mapping *hw_find_space(physent, space) - finds the first mapping on physent for specified space
2237 * space is the space ID from the pmap in question
2254 stwu r1,-(FM_SIZE)(r1) ; Make some space on the stack
2256 mr r8,r4 ; Remember the space
2270 lhz r10,mpSpace(r12) ; Get the space
2287 lhz r10,mpSpace(r12) ; Get the space
2359 stwu r1,-(FM_ALIGN((31-25+1)*4)+FM_SIZE)(r1) ; Make some space on the stack
2601 stwu r1,-(FM_ALIGN((31-24+1)*4)+FM_SIZE)(r1) ; Make some space on the stack
2945 ; did not fit in the 128 bytes allotted. It got stuck into the free space
3152 stwu r1,-(FM_ALIGN((31-24+1)*4)+FM_SIZE)(r1) ; Make some space on the stack
3331 stwu r1,-(FM_ALIGN((31-24+1)*4)+FM_SIZE)(r1) ; Make some space on the stack
3766 ; Note: if the RI is on, we are accessing user space from the kernel, therefore we
3770 andi. r0,r8,lo16(MASK(MSR_PR)|MASK(MSR_RI)) ; Are we addressing user or kernel space?
3784 ; predefined value that corresponds to no address space. When we see that value
3842 lhz r21,mpSpace(r31) ; Get the space
3854 hpfCSrch: lhz r21,mpSpace(r31) ; Get the space
3863 slwi r11,r21,3 ; Multiply space by 8
3867 slwi r12,r21,2 ; Multiply space by 4
3871 add r12,r12,r10 ; Now we are pointing at the space to pmap translation entry
3916 ; Error condition - space id selected an invalid pmap - fatal
3950 ; space slice into the right place in the kernel.
3967 ; the space ID (14 bits wide) 3 times. We then slide the vaddr over
3968 ; so that bits 0:35 are in 14:49 (leaves a hole for one copy of the space ID).
3969 ; Then we XOR and expanded space ID and the shifted vaddr. This gives us
3977 #error maxAdrSpb (address space id size) is not 14 bits!!!!!!!!!!!!
3982 ; r21: home space id number
3996 rlwinm r15,r23,18,14,17 ; Shift 32:35 (0:3) of vaddr just above space ID
3997 rlwinm r20,r21,28,22,31 ; Shift upper 10 bits of space into high order
4000 rlwimi r21,r21,14,4,17 ; Make a second copy of space above first
4004 rlwimi r21,r21,28,0,3 ; Get low order of 3rd copy of space at top of register
4354 rlwinm r10,r6,21,0,3 ; Shift last 4 bits of space to segment part
4358 rlwinm r8,r6,25,18,31 ; Extract the space ID
4359 rlwinm r11,r6,25,18,31 ; Extract the space ID
4410 lhz r10,mpSpace(r7) ; Get the space
4415 crand cr0_eq,cr1_eq,cr0_lt ; See if both space and vaddr match
4558 rldicl r8,r6,52,50 ; Isolate the address space ID
4567 mr r7,r8 ; Get a copy of the space ID
4569 rldimi r7,r7,14,36 ; Copy address space to make hash value
4600 lhz r10,mpSpace(r7) ; Get the space
4605 crand cr0_eq,cr1_eq,cr0_lt ; See if both space and vaddr match
4690 ; our vaddr and space id. The search is pipelined, so that we may fetch
4706 ; address in r28, the guest pmap's space id in r21, and the guest pmap's
4716 lwz r21,pmapSpace(r28) ; r21 <- guest space ID number
4737 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
4749 mr r7,r4 ; r7 <- current mapping slot's space ID
4750 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
4754 xor r7,r7,r21 ; Compare space ID
4755 or r0,r6,r7 ; r0 <- !(!free && !dormant && space match)
4757 or. r0,r0,r8 ; cr0_eq <- !free && !dormant && space match && virtual addr match
4765 xor r4,r4,r21 ; Compare space ID
4766 or r0,r3,r4 ; r0 <- !(!free && !dormant && space match)
4768 or. r0,r0,r5 ; cr0_eq <- !free && !dormant && space match && virtual addr match
4777 lwz r21,pmapSpace(r28) ; r21 <- guest space ID number
4799 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
4811 mr r7,r4 ; r7 <- current mapping slot's space ID
4812 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
4816 xor r7,r7,r21 ; Compare space ID
4817 or r0,r6,r7 ; r0 <- !(!free && !dormant && space match)
4819 or. r0,r0,r8 ; cr0_eq <- !free && !dormant && space match && virtual addr match
4827 xor r4,r4,r21 ; Compare space ID
4828 or r0,r3,r4 ; r0 <- !(!free && !dormant && space match)
4830 or. r0,r0,r5 ; cr0_eq <- !free && !dormant && space match && virtual addr match
4843 * Indicate whether memory space needs to be switched.
4874 cmplw cr1,r3,r2 ; Same address space as before?
4876 crorc cr1_eq,cr1_eq,pfAltivecb ; See if same address space or not altivec machine
4880 beqlr-- cr1 ; Leave if the same address space or not Altivec
4899 cmplw cr1,r3,r2 ; Same address space as before?
4901 crorc cr1_eq,cr1_eq,pfAltivecb ; See if same address space or not altivec machine
5223 lwz r0,pmapSpace(r3) ; Get the space, we will need it soon
5238 rlwinm r7,r7,18,14,17 ; Slide va[32:35] east to just west of space ID
5242 rlwimi r0,r0,14,4,17 ; Dup address space ID above itself
5248 rlwimi r2,r0,0,4,31 ; We should now have 4 copies of the space
5422 li r5,invalSpace ; Set the invalid address space VSID
5551 ; This is the 32-bit address space switch code.
5595 li r2,invalSpace ; Set the invalid address space VSID
5620 ; This is the 64-bit address space switch code.
5721 ; r27 : guest pmap's space ID number
5771 lwz r27,pmapSpace(r29) ; r27 <- guest pmap's space ID number
5785 lhz r4,mpSpace(r31) ; Get mapping's space ID number
5787 xor r4,r4,r27 ; Compare space ID number
5788 or. r0,r6,r4 ; cr0_eq <- !free && space id match
5945 ; r27 : guest pmap's space ID number
5996 lwz r27,pmapSpace(r29) ; r27 <- guest pmap's space ID number
6038 lhz r4,mpSpace(r31) ; Get mapping's space ID number
6040 xor r4,r4,r27 ; Compare space ID number
6041 or. r4,r4,r5 ; (space id miss || global)
6154 lwz r9,pmapSpace(r4) ; r9 <- guest space ID number
6198 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
6206 mr r7,r4 ; r7 <- current mapping slot's space ID
6207 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
6211 xor r7,r7,r9 ; Compare space ID
6212 or r0,r11,r7 ; r0 <- !(!free && space match)
6214 or. r0,r0,r8 ; cr0_eq <- !free && space match && virtual addr match
6223 xor r4,r4,r9 ; Compare space ID
6224 or r0,r11,r4 ; r0 <- !(!free && space match)
6226 or. r0,r0,r5 ; cr0_eq <- !free && space match && virtual addr match
6232 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
6240 mr r7,r4 ; r7 <- current mapping slot's space ID
6241 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
6245 xor r7,r7,r9 ; Compare space ID
6246 or r0,r11,r7 ; r0 <- !(!free && space match)
6248 or. r0,r0,r8 ; cr0_eq <- !free && space match && virtual addr match
6257 xor r4,r4,r9 ; Compare space ID
6258 or r0,r11,r4 ; r0 <- !(!free && space match)
6260 or. r0,r0,r5 ; cr0_eq <- !free && space match && virtual addr match
6292 // We now have a dormant guest mapping that matches our space id and virtual address. Our next
6296 // host's space id and the host virtual address. If we succeed, we know that the entire chain
6312 lwz r6,pmapSpace(r27) ; Get host pmap's space id number
6317 lhz r4,mpSpace(r12) ; Get mapping's space id number
6324 xor r4,r4,r6 ; Compare w/ host space id number
6326 or r0,r0,r4 ; r0 <- (wrong type || !space id)
6327 or. r0,r0,r5 ; cr0_eq <- (right type && space id hit && hva hit)
6334 lwz r6,pmapSpace(r27) ; Get pmap's space id number
6339 lhz r4,mpSpace(r12) ; Get mapping's space id number
6345 xor r4,r4,r6 ; Compare w/ host space id number
6347 or r0,r0,r4 ; r0 <- (wrong type || !space id)
6348 or. r0,r0,r5 ; cr0_eq <- (right type && space id hit && hva hit)
6523 lwz r9,pmapSpace(r4) ; r9 <- guest space ID number
6566 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
6575 mr r7,r4 ; r7 <- current mapping slot's space ID
6576 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
6580 xor r7,r7,r9 ; Compare space ID
6581 or r0,r11,r7 ; r0 <- !(!free && space match)
6583 or. r0,r0,r8 ; cr0_eq <- !free && space match && virtual addr match
6592 xor r4,r4,r9 ; Compare space ID
6593 or r0,r11,r4 ; r0 <- !(!free && && space match)
6595 or. r0,r0,r5 ; cr0_eq <- free && space match && virtual addr match
6601 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
6610 mr r7,r4 ; r7 <- current mapping slot's space ID
6611 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
6615 xor r7,r7,r9 ; Compare space ID
6616 or r0,r11,r7 ; r0 <- !(!free && space match)
6618 or. r0,r0,r8 ; cr0_eq <- !free && space match && virtual addr match
6627 xor r4,r4,r9 ; Compare space ID
6628 or r0,r11,r4 ; r0 <- !(!free && && space match)
6630 or. r0,r0,r5 ; cr0_eq <- !free && space match && virtual addr match
6772 lwz r12,pmapSpace(r28) ; Get guest space id number
6775 sth r12,mpSpace(r31) ; Set mapping's space id number
6887 lwz r9,pmapSpace(r4) ; r9 <- guest space ID number
6930 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
6938 mr r7,r4 ; r7 <- current mapping slot's space ID
6939 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
6943 xor r7,r7,r9 ; Compare space ID
6944 or r0,r11,r7 ; r0 <- !(!free && !dormant && space match)
6946 or. r0,r0,r8 ; cr0_eq <- !free && !dormant && space match && virtual addr match
6955 xor r4,r4,r9 ; Compare space ID
6956 or r0,r11,r4 ; r0 <- !(!free && !dormant && space match)
6958 or. r0,r0,r5 ; cr0_eq <- !free && !dormant && space match && virtual addr match
6964 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
6972 mr r7,r4 ; r7 <- current mapping slot's space ID
6973 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
6977 xor r7,r7,r9 ; Compare space ID
6978 or r0,r11,r7 ; r0 <- !(!free && !dormant && space match)
6980 or. r0,r0,r8 ; cr0_eq <- !free && !dormant && space match && virtual addr match
6989 xor r4,r4,r9 ; Compare space ID
6990 or r0,r11,r4 ; r0 <- !(!free && !dormant && space match)
6992 or. r0,r0,r5 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7096 lwz r9,pmapSpace(r4) ; r9 <- guest space ID number
7142 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
7150 mr r7,r4 ; r7 <- current mapping slot's space ID
7151 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
7155 xor r7,r7,r9 ; Compare space ID
7156 or r0,r11,r7 ; r0 <- !(!free && !dormant && space match)
7158 or. r0,r0,r8 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7167 xor r4,r4,r9 ; Compare space ID
7168 or r0,r11,r4 ; r0 <- !(!free && !dormant && space match)
7170 or. r0,r0,r5 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7176 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
7184 mr r7,r4 ; r7 <- current mapping slot's space ID
7185 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
7189 xor r7,r7,r9 ; Compare space ID
7190 or r0,r11,r7 ; r0 <- !(!free && !dormant && space match)
7192 or. r0,r0,r8 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7201 xor r4,r4,r9 ; Compare space ID
7202 or r0,r11,r4 ; r0 <- !(!free && !dormant && space match)
7204 or. r0,r0,r5 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7350 lwz r9,pmapSpace(r3) ; r9 <- guest space ID number
7394 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
7402 mr r7,r4 ; r7 <- current mapping slot's space ID
7403 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
7407 xor r7,r7,r9 ; Compare space ID
7408 or r0,r11,r7 ; r0 <- !(!free && !dormant && space match)
7410 or. r0,r0,r8 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7419 xor r4,r4,r9 ; Compare space ID
7420 or r0,r11,r4 ; r0 <- !(!free && !dormant && space match)
7422 or. r0,r0,r5 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7428 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
7436 mr r7,r4 ; r7 <- current mapping slot's space ID
7437 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
7441 xor r7,r7,r9 ; Compare space ID
7442 or r0,r11,r7 ; r0 <- !(!free && !dormant && space match)
7444 or. r0,r0,r8 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7453 xor r4,r4,r9 ; Compare space ID
7454 or r0,r11,r4 ; r0 <- !(!free && !dormant && space match)
7456 or. r0,r0,r5 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7467 lwz r6,pmapSpace(r27) ; Get host pmap's space id number
7472 lhz r4,mpSpace(r12) ; Get mapping's space id number
7479 xor r4,r4,r6 ; Compare w/ host space id number
7480 or. r0,r0,r4 ; cr0_eq <- (normal && space id hit)
7487 lwz r6,pmapSpace(r27) ; Get host pmap's space id number
7492 lhz r4,mpSpace(r12) ; Get mapping's space id number
7498 xor r4,r4,r6 ; Compare w/ host space id number
7499 or. r0,r0,r4 ; cr0_eq <- (normal && space id hit)
7602 lwz r9,pmapSpace(r3) ; r9 <- guest space ID number
7646 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
7654 mr r7,r4 ; r7 <- current mapping slot's space ID
7655 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
7659 xor r7,r7,r9 ; Compare space ID
7660 or r0,r11,r7 ; r0 <- !(!free && !dormant && space match)
7662 or. r0,r0,r8 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7671 xor r4,r4,r9 ; Compare space ID
7672 or r0,r11,r4 ; r0 <- !(!free && !dormant && space match)
7674 or. r0,r0,r5 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7680 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
7688 mr r7,r4 ; r7 <- current mapping slot's space ID
7689 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
7693 xor r7,r7,r9 ; Compare space ID
7694 or r0,r11,r7 ; r0 <- !(!free && !dormant && space match)
7696 or. r0,r0,r8 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7705 xor r4,r4,r9 ; Compare space ID
7706 or r0,r11,r4 ; r0 <- !(!free && !dormant && space match)
7708 or. r0,r0,r5 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7816 lwz r9,pmapSpace(r3) ; r9 <- guest space ID number
7858 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
7866 mr r7,r4 ; r7 <- current mapping slot's space ID
7867 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
7871 xor r7,r7,r9 ; Compare space ID
7872 or r0,r11,r7 ; r0 <- free || dormant || !space match
7874 or. r0,r0,r8 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7883 xor r4,r4,r9 ; Compare space ID
7884 or r0,r11,r4 ; r0 <- free || dormant || !space match
7886 or. r0,r0,r5 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7892 lhz r4,mpSpace(r31) ; r4 <- 1st mapping slot's space ID
7900 mr r7,r4 ; r7 <- current mapping slot's space ID
7901 lhz r4,mpSpace+GV_SLOT_SZ(r31) ; r4 <- next mapping slot's space ID
7905 xor r7,r7,r9 ; Compare space ID
7906 or r0,r11,r7 ; r0 <- free || dormant || !space match
7908 or. r0,r0,r8 ; cr0_eq <- !free && !dormant && space match && virtual addr match
7917 xor r4,r4,r9 ; Compare space ID
7918 or r0,r11,r4 ; r0 <- free || dormant || !space match
7920 or. r0,r0,r5 ; cr0_eq <- !free && !dormant && space match && virtual addr match