KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Protection Settings

SH4 MMU page protection settings values. More...

Macros

#define MMU_KERNEL_RDONLY   0
 No user access, kernel read-only.
 
#define MMU_KERNEL_RDWR   1
 No user access, kernel full.
 
#define MMU_ALL_RDONLY   2
 Read-only user and kernel.
 
#define MMU_ALL_RDWR   3
 Full access, user and kernel.
 

Detailed Description

SH4 MMU page protection settings values.

Each page mapped via the MMU can be protected in a couple of different ways, as specified here.

Macro Definition Documentation

◆ MMU_ALL_RDONLY

#define MMU_ALL_RDONLY   2

Read-only user and kernel.

◆ MMU_ALL_RDWR

#define MMU_ALL_RDWR   3

Full access, user and kernel.

◆ MMU_KERNEL_RDONLY

#define MMU_KERNEL_RDONLY   0

No user access, kernel read-only.

◆ MMU_KERNEL_RDWR

#define MMU_KERNEL_RDWR   1

No user access, kernel full.