|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
MMU TLB entry for a single page. More...
#include <arch/mmu.h>
Data Fields | |
| uint32_t | physical: 18 |
| Physical page ID – 18 bits. | |
| uint32_t | prkey: 2 |
| Protection key data – 2 bits. | |
| uint32_t | valid: 1 |
| Valid mapping – 1 bit. | |
| uint32_t | shared: 1 |
| Shared between procs – 1 bit. | |
| uint32_t | cache: 1 |
| Cacheable – 1 bit. | |
| uint32_t | dirty: 1 |
| Dirty – 1 bit. | |
| uint32_t | wthru: 1 |
| Write-thru enable – 1 bit. | |
| uint32_t | blank: 7 |
| Reserved – 7 bits. | |
| uint32_t | pteh |
| Pre-built PTEH value. | |
| uint32_t | ptel |
| Pre-built PTEL value. | |
MMU TLB entry for a single page.
The TLB entries on the SH4 are a single 32-bit dword in length. We store some other data here too for ease of use.
| uint32_t mmupage_t::blank |
Reserved – 7 bits.
| uint32_t mmupage_t::cache |
Cacheable – 1 bit.
| uint32_t mmupage_t::dirty |
Dirty – 1 bit.
| uint32_t mmupage_t::physical |
Physical page ID – 18 bits.
| uint32_t mmupage_t::prkey |
Protection key data – 2 bits.
| uint32_t mmupage_t::pteh |
Pre-built PTEH value.
| uint32_t mmupage_t::ptel |
Pre-built PTEL value.
| uint32_t mmupage_t::shared |
Shared between procs – 1 bit.
| uint32_t mmupage_t::valid |
Valid mapping – 1 bit.
| uint32_t mmupage_t::wthru |
Write-thru enable – 1 bit.