/* Embra Memory Access Modes */


Modes:EMBRA_PAGEEMBRA_CACHE
Parameter EmUseVQC: Quick CheckPhysArray
Data Structures :MMUMMU, qc_v, qc_pMMU, pa_p
Example memory requirement for single processor
(32 bit address space, 2^24=16Mb Memory, pagesize 2^12=4K, cachelinesize 2^7=128b):
MMU((1<<32)>>12)*4 = 4Mb4Mb4Mb
qc_vX((1<<32)>>7)*1=32MbX
qc_pX((1<<24)>>7)*4=512KX
pa_pXX((1<<24)>>7)*1=128Kb
Simulated Memory Access :
MMU : hit -> continue
miss -> callout ->
access real TLB
qc_v : hit->continue
miss -> callout ->
access qc_p, TLB,
Cache (on a qc_p miss)
MMU : hit -> pa_p
pa_p
: hit -> continue
miss(MMU or pa_p) -> callout ->
access real TLB & Cache

bar

Details

MMUVirt. Quickcheck,
qc_v
Physical Quickcheck,
qc_p
Phys Array,
pa_p
Indexed byVPNVLNPLNPLN
EntryMemory Address, MA encodes Cache & TLB info State of Cacheline:
valid, excl., shared &
backmap to qc_v
State of Cacheline: valid, excl., shared
Accessedfrom Translation Cache (inlined)from Translation Cache (inlined)after accessing qc_v miss -> callout -> C-Code -> qc_pfrom Translation Cache (inlined)