A processor includes a hierarchical Translation Lookaside Buffer (TLB)
comprising a Level-1 TLB and a small, high-speed Level-0 TLB. Entries in
the L0 TLB replicate entries in the L1 TLB. The processor first accesses
the L0 TLB in an address translation, and access the L1 TLB if a virtual
address misses in the L0 TLB. When the virtual address hits in the L1
TLB, the virtual address, physical address, and page attributes are
written to the L0 TLB, replacing an existing entry if the L0 TLB is full.
The entry may be locked against replacement in the L0 TLB in response to
an L0 Lock (L0L) indicator in the L1 TLB entry. Similarly, in a
hardware-managed L1 TLB, entries may be locked against replacement in
response to an L1 Lock (L1L) indicator in the corresponding page table
entry.