KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
MMU address bit definitions

Macros

#define MMU_TOP_SHIFT   21
 Top-level shift. More...
 
#define MMU_TOP_BITS   10
 Top-level bits. More...
 
#define MMU_TOP_MASK   ((1 << MMU_TOP_BITS) - 1)
 Top-level mask. More...
 
#define MMU_BOT_SHIFT   12
 Bottom shift. More...
 
#define MMU_BOT_BITS   9
 Bottom bits. More...
 
#define MMU_BOT_MASK   ((1 << MMU_BOT_BITS) - 1)
 Bottom mask. More...
 
#define MMU_IND_SHIFT   0
 Index shift. More...
 
#define MMU_IND_BITS   12
 Index bits. More...
 
#define MMU_IND_MASK   ((1 << MMU_IND_BITS) - 1)
 Index mask. More...
 

Detailed Description

The MMU code uses these to determine the page of a request.

Macro Definition Documentation

#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.