#include <AlphaCPU.h>
A translation buffer entry provides the mapping from a page of virtual memory to a page of physical memory.
Definition at line 501 of file AlphaCPU.h.
Data Fields | |
| u64 | virt |
| Virtual address of page. | |
| u64 | phys |
| Physical address of page. | |
| u64 | match_mask |
| The virtual address has to match for these bits to be a hit. | |
| u64 | keep_mask |
| This part of the virtual address is OR-ed with the phys address. | |
| int | asn |
| Address Space Number. | |
| int | asm_bit |
| Address Space Match bit. | |
| int | access [2][4] |
| Access permitted [read/write][current mode]. | |
| int | fault [3] |
| Fault on access [read/write/execute]. | |
| bool | valid |
| Valid entry. | |
Virtual address of page.
Definition at line 503 of file AlphaCPU.h.
Referenced by CAlphaCPU::add_tb(), and CAlphaCPU::FindTBEntry().
Physical address of page.
Definition at line 504 of file AlphaCPU.h.
Referenced by CAlphaCPU::add_tb(), and CAlphaCPU::virt2phys().
The virtual address has to match for these bits to be a hit.
Definition at line 505 of file AlphaCPU.h.
Referenced by CAlphaCPU::add_tb(), and CAlphaCPU::FindTBEntry().
This part of the virtual address is OR-ed with the phys address.
Definition at line 506 of file AlphaCPU.h.
Referenced by CAlphaCPU::add_tb(), and CAlphaCPU::virt2phys().
Address Space Number.
Definition at line 507 of file AlphaCPU.h.
Referenced by CAlphaCPU::add_tb(), and CAlphaCPU::FindTBEntry().
Address Space Match bit.
Definition at line 508 of file AlphaCPU.h.
Referenced by CAlphaCPU::add_tb(), CAlphaCPU::FindTBEntry(), CAlphaCPU::tbiap(), and CAlphaCPU::virt2phys().
| int CAlphaCPU::SCPU_state::STBEntry::access[2][4] |
Access permitted [read/write][current mode].
Definition at line 509 of file AlphaCPU.h.
Referenced by CAlphaCPU::add_tb(), and CAlphaCPU::virt2phys().
Fault on access [read/write/execute].
Definition at line 510 of file AlphaCPU.h.
Referenced by CAlphaCPU::add_tb(), and CAlphaCPU::virt2phys().
Valid entry.
Definition at line 511 of file AlphaCPU.h.
Referenced by CAlphaCPU::add_tb(), CAlphaCPU::FindTBEntry(), CAlphaCPU::tbia(), CAlphaCPU::tbiap(), and CAlphaCPU::tbis().