Lines Matching refs:entry

206 fill_page_table_entry(page_table_entry *entry, uint32 virtualSegmentID,
210 ((uint32 *)entry)[1]
212 /*entry->physical_page_number = (uint32)physicalAddress / B_PAGE_SIZE;
213 entry->_reserved0 = 0;
214 entry->referenced = false;
215 entry->changed = false;
216 entry->write_through = (mode >> 6) & 1;
217 entry->caching_inhibited = (mode >> 5) & 1;
218 entry->memory_coherent = (mode >> 4) & 1;
219 entry->guarded = (mode >> 3) & 1;
220 entry->_reserved1 = 0;
221 entry->page_protection = mode & 0x3;*/
224 // already written when the entry becomes valid
227 entry->virtual_segment_id = virtualSegmentID;
228 entry->secondary_hash = secondaryHash;
229 entry->abbr_page_index = ((uint32)virtualAddress >> 22) & 0x3f;
230 entry->valid = true;
246 if (group->entry[i].valid)
249 fill_page_table_entry(&group->entry[i], virtualSegmentID,
260 if (group->entry[i].valid)
263 fill_page_table_entry(&group->entry[i], virtualSegmentID,
625 // Find page table entry for this address
633 page_table_entry *entry = NULL;
636 entry = &group->entry[i];
638 if (entry->valid
639 && entry->virtual_segment_id == virtualSegmentID
640 && entry->secondary_hash == false
641 && entry->abbr_page_index == ((virtualAddress >> 22) & 0x3f))
649 entry = &group->entry[i];
651 if (entry->valid
652 && entry->virtual_segment_id == virtualSegmentID
653 && entry->secondary_hash == true
654 && entry->abbr_page_index == ((virtualAddress >> 22) & 0x3f))
663 // we found the entry in question
664 physicalAddress = (int)(entry->physical_page_number * B_PAGE_SIZE);
665 mode = (entry->write_through << 6) // WIMGxPP
666 | (entry->caching_inhibited << 5)
667 | (entry->memory_coherent << 4)
668 | (entry->guarded << 3)
669 | entry->page_protection;