KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Definitions and masks for address pages More...
Macros | |
#define | MMU_TOP_SHIFT 21 |
Top-level shift. | |
#define | MMU_TOP_BITS 10 |
Top-level bits. | |
#define | MMU_TOP_MASK ((1 << MMU_TOP_BITS) - 1) |
Top-level mask. | |
#define | MMU_BOT_SHIFT 12 |
Bottom shift. | |
#define | MMU_BOT_BITS 9 |
Bottom bits. | |
#define | MMU_BOT_MASK ((1 << MMU_BOT_BITS) - 1) |
Bottom mask. | |
#define | MMU_IND_SHIFT 0 |
Index shift. | |
#define | MMU_IND_BITS 12 |
Index bits. | |
#define | MMU_IND_MASK ((1 << MMU_IND_BITS) - 1) |
Index mask. | |
Definitions and masks for address pages
The MMU code uses these to determine the page of a request.
#define MMU_BOT_BITS 9 |
Bottom bits.
#define MMU_BOT_MASK ((1 << MMU_BOT_BITS) - 1) |
Bottom mask.
#define MMU_BOT_SHIFT 12 |
Bottom shift.
#define MMU_IND_BITS 12 |
Index bits.
#define MMU_IND_MASK ((1 << MMU_IND_BITS) - 1) |
Index mask.
#define MMU_IND_SHIFT 0 |
Index shift.
#define MMU_TOP_BITS 10 |
Top-level bits.
#define MMU_TOP_MASK ((1 << MMU_TOP_BITS) - 1) |
Top-level mask.
#define MMU_TOP_SHIFT 21 |
Top-level shift.