• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/

Lines Matching refs:entry

437  *			Upon entry, R3 contains a pointer to a pmap.  Since vaddr is
680 rlwinm r9,r21,28,4,29 ; Convert PTEG to PCA entry
682 subfic r9,r9,-4 ; Get the PCA entry offset
951 subfic r3,r3,-4 ; Get the PCA entry offset
1100 hrmSplit64: rlwinm r9,r21,27,5,29 ; Convert PTEG to PCA entry
1102 subfic r9,r9,-4 ; Get the PCA entry offset
1289 subfic r3,r3,-4 ; Get the PCA entry offset
1459 ; Non-volatile registers on entry:
1497 add r31,r31,r12 ; r31 <- hash page index entry
1585 rlwinm. r0,r6,0,mpgDormant ; Is this entry dormant?
1646 mr. r9,r8 ; Does next entry exist?
1675 mr. r9,r8 ; Does next entry exist?
1710 * Upon entry, R3 contains a pointer to a physent.
1712 * This function removes the first mapping from a physical entry
1714 * the first entry. It then jumps into the hw_rem_map function.
1797 bl mapPhysUnlock ; Time to unlock the physical entry
1809 hppNone: bl mapPhysUnlock ; Time to unlock the physical entry
1834 * Upon entry, R3 contains a pointer to a pmap. Since vaddr is
1939 * Upon entry, R3 contains a pointer to a pmap.
1942 * This function removes the first mapping for a specific pmap from a physical entry
1944 * the first apporpriate entry. It then jumps into the hw_rem_map function.
2060 bl mapPhysUnlock ; Time to unlock the physical entry
2065 hpsNone: bl mapPhysUnlock ; Time to unlock the physical entry
2098 * remove path; otherwise, we return NULL. The caller is expected to invoke this entry
2101 * Because this entry point exits through hw_rem_map, our prolog pushes its frame.
2236 * Upon entry, R3 contains a pointer to a physent.
2301 mr r3,r8 ; Get back the physical entry
2303 bl mapPhysUnlock ; Time to unlock the physical entry
2312 hfsNone: bl mapPhysUnlock ; Time to unlock the physical entry
2491 lwz r0,mrStart(r5) ; Get start of table entry
2492 lwz r4,mrEnd(r5) ; Get end of table entry
2498 sub r4,r4,r0 ; Calculate physical entry count
3505 lwz r5,mrStart(r9) ; Get start of table entry
3506 lwz r0,mrEnd(r9) ; Get end of table entry
3511 sub r4,r2,r5 ; Calculate index to physical entry
3512 beq-- cr7,mapFLPNmiss ; Leave if we did not find an entry...
3513 cror cr0_lt,cr0_lt,cr1_gt ; Set CR0_LT if it is NOT this entry
3514 slwi r4,r4,3 ; Get offset to physical entry
3536 addi r4,r4,lo16(EXT(pmap_mem_regions)) ; Get low part of address of entry
3537 add r3,r3,r4 ; Point to table entry
3698 ; At entry R2 contains per_proc, R13 contains savarea pointer,
3724 * At entry R2 contains per_proc, R13 contains savarea pointer,
3848 #error pmapTrans entry size is not 12 bytes!!!!!!!!!!!! It is pmapTransSize
3871 add r12,r12,r10 ; Now we are pointing at the space to pmap translation entry
4008 rlwinm r12,r12,9,20,22 ; Isolate and position key for cache entry
4018 ; Here is the only place that we make an entry in the pmap segment cache.
4020 ; Note that we do not make an entry in the segment cache for special
4028 ; entry. If not, well, it is an error that we should die on, but I have
4032 ; an entry based on the generation number, update the cache entry, and
4042 ; The cache entry contains an image of the ESID/VSID pair we would load for
4045 ; Remember, this cache entry goes in the ORIGINAL pmap (saved in R25), not
4052 bne-- cr5,hpfNoCacheEnt2 ; Skip the cache entry if this is a "special nest" fault....
4062 bne-- hpfNoCacheEnt ; Yes, we found it, no need to make another entry...
4140 ; Make and enter 64-bit segment look-aside buffer entry.
4141 ; Note that the cache entry is the right format except for valid bit.
4149 ld r16,validSegs(r19) ; Get the valid SLB entry flags
4157 xor r12,r12,r4 ; Alter the storage key before loading segment table entry
4159 cmplwi r17,63 ; Did we find a free SLB entry?
4171 slbmfee r7,r17 ; Get the entry that is in the selected spot
4175 slbie r7 ; Invalidate the in-use SLB entry
4181 ; We are now ready to stick the SLB entry in the SLB and mark it in use
4190 rldimi r9,r17,0,58 ; Copy in the SLB entry selector
4195 hpfNoBlow: slbmte r10,r9 ; Make that SLB entry
4689 ; that page is searched for a valid and active entry that contains
4726 add r31,r31,r4 ; r31 <- hash page index entry
4788 add r31,r31,r4 ; r31 <- hash page index entry
4910 /* int mapalc1(struct mappingblok *mb) - Finds, allocates, and zeros a free 1-bit mapping entry
4957 /* int mapalc2(struct mappingblok *mb) - Finds, allocates, and zero's a free 2-bit mapping entry
5054 li r3,-4 ; Displacement to first PCA entry
5057 hhiNPCA32: stwx r4,r3,r11 ; Initialize the PCA entry
5079 li r3,-4 ; Displacement to first PCA entry
5082 hhiNPCA64: stwx r4,r3,r11 ; Initialize the PCA entry
5175 slbia ; Trash all SLB entries (except for entry 0 that is)
5176 slbmfee r7,r0 ; Get the entry that is in SLB index 0
5304 ld r6,validSegs(r12) ; Get the valid SLB entry flags
5312 cmplwi r7,63 ; Did we find a free SLB entry?
5326 slbmfee r3,r7 ; Get the entry that is in the selected spot
5330 slbie r3 ; Invalidate the in-use SLB entry
5336 ; We are now ready to stick the SLB entry in the SLB and mark it in use
5340 rldimi r4,r7,0,58 ; Copy in the SLB entry selector
5345 slbmte r5,r4 ; Make that SLB entry
5405 slbie r9 ; Invalidate the associated SLB entry
5536 slbia ; Trash all SLB entries (except for entry 0 that is)
5553 ; For each entry, we load the specified entries and remember which
5566 add r14,r14,r9 ; Point to the entry
5635 add r14,r14,r9 ; Point to the entry
5645 slbmte r6,r5 ; Make that SLB entry
5776 add r31,r31,r11 ; Calculate page physical index entry address
5795 rlwinm. r0,r3,0,mpgDormant ; Is this entry dormant?
5853 mr. r9,r8 ; Does next entry exist?
5879 mr. r9,r8 ; Does next entry exist?
6017 add r21,r21,r11 ; Calculate page physical index entry address
6044 ori r3,r3,mpgDormant ; Mark entry dormant
6164 add r31,r31,r10 ; r31 <- hash page index entry
6180 add r31,r31,r10 ; r31 <- hash page index entry
6359 stw r0,mpFlags(r31) ; Set updated flags, entry is now valid
6386 mr. r9,r8 ; Does next entry exist?
6413 mr. r9,r8 ; Does next entry exist?
6533 add r22,r22,r10 ; r22 <- hash page index entry
6547 add r22,r22,r10 ; r22 <- hash page index entry
6655 rlwinm r0,r6,0,mpgDormant ; Dormant entry?
6657 or. r0,r0,r11 ; Skip all but the first dormant entry we see
6659 mr r11,r31 ; We'll use this dormant entry if we don't find a free one first
6665 rlwinm r0,r6,0,mpgDormant ; Dormant entry?
6667 or. r0,r0,r11 ; Skip all but the first dormant entry we see
6669 mr r11,r31 ; We'll use this dormant entry if we don't find a free one first
6673 bne gadUpCursor ; Go update the cursor, we'll take the dormant entry
6737 mr. r9,r8 ; Does next entry exist?
6764 mr. r9,r8 ; Does next entry exist?
6898 add r31,r31,r10 ; r31 <- hash page index entry
6912 add r31,r31,r10 ; r31 <- hash page index entry
7020 ori r3,r3,mpgDormant ; Mark entry dormant
7108 add r31,r31,r10 ; r31 <- hash page index entry
7123 add r31,r31,r10 ; r31 <- hash page index entry
7362 add r31,r31,r10 ; r31 <- hash page index entry
7377 add r31,r31,r10 ; r31 <- hash page index entry
7614 add r31,r31,r10 ; r31 <- hash page index entry
7629 add r31,r31,r10 ; r31 <- hash page index entry
7826 add r31,r31,r10 ; r31 <- hash page index entry
7841 add r31,r31,r10 ; r31 <- hash page index entry
7984 ; Note that this table always has an entry that with a 0 table pointer at the end
7986 ; R3 contains ppnum on entry
7987 ; R3 is 0 if no entry was found
7989 ; cr0_eq is true if lock was obtained or there was no entry to lock
7990 ; cr0_eq is false of there was an entry and it was locked
8001 lwz r5,mrStart(r9) ; Get start of table entry
8002 lwz r0,mrEnd(r9) ; Get end of table entry
8007 sub r4,r2,r5 ; Calculate index to physical entry
8008 beq-- cr2,mapFindNo ; Leave if we did not find an entry...
8009 cror cr0_lt,cr0_lt,cr1_gt ; Set CR0_LT if it is NOT this entry
8010 slwi r4,r4,3 ; Get offset to physical entry
8038 ; pmapCacheLookup - This function will look up an entry in the pmap segment cache.
8044 ; an entry. The sub-tag is a 16 entry 4 bit array that contains the low order 4 bits
8046 ; entry contains the full 36 bit ESID.
8049 ; for an existing cache entry. Because there are 16 slots in the cache, we could end up
8052 ; Essentially, we will search only the slots that have a valid entry and whose sub-tag
8126 rlwinm r7,r5,4,0,27 ; Index to the cache entry
8187 mMNmerge: lbz r11,mpFlags+1(r31) ; Get the offset to the physical entry table
8255 ; R7 points to the PCA entry.
8317 mINmerge: lbz r11,mpFlags+1(r31) ; Get the offset to the physical entry table
8416 ; R7 points to PCA entry
8476 ; At entry, R6 contains new unlocked PCA image (real PCA is locked and untouched)