CAlphaCPU::SCPU_state::STBEntry Struct Reference

#include <AlphaCPU.h>


Detailed Description

Translation Buffer Entry.

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.

Field Documentation

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().

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().


The documentation for this struct was generated from the following file:

SourceForge.net Logo
Project space on SourceForge.net