KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Address Bits

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.
 

Detailed Description

Definitions and masks for address pages

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

Macro Definition Documentation

◆ MMU_BOT_BITS

#define MMU_BOT_BITS   9

Bottom bits.

◆ MMU_BOT_MASK

#define MMU_BOT_MASK   ((1 << MMU_BOT_BITS) - 1)

Bottom mask.

◆ MMU_BOT_SHIFT

#define MMU_BOT_SHIFT   12

Bottom shift.

◆ MMU_IND_BITS

#define MMU_IND_BITS   12

Index bits.

◆ MMU_IND_MASK

#define MMU_IND_MASK   ((1 << MMU_IND_BITS) - 1)

Index mask.

◆ MMU_IND_SHIFT

#define MMU_IND_SHIFT   0

Index shift.

◆ MMU_TOP_BITS

#define MMU_TOP_BITS   10

Top-level bits.

◆ MMU_TOP_MASK

#define MMU_TOP_MASK   ((1 << MMU_TOP_BITS) - 1)

Top-level mask.

◆ MMU_TOP_SHIFT

#define MMU_TOP_SHIFT   21

Top-level shift.