FreeNOS
Macros | Functions
ARMCacheV7.cpp File Reference
#include "ARMCore.h"
#include "ARMCacheV7.h"

Go to the source code of this file.

Macros

#define CCSIDR_LINE_SIZE_OFFSET   0
 
#define CCSIDR_LINE_SIZE_MASK   0x7
 
#define CCSIDR_ASSOCIATIVITY_OFFSET   3
 
#define CCSIDR_ASSOCIATIVITY_MASK   (0x3FF << 3)
 
#define CCSIDR_NUM_SETS_OFFSET   13
 
#define CCSIDR_NUM_SETS_MASK   (0x7FFF << 13)
 

Functions

static s32 log_2_n_round_up (u32 n)
 

Macro Definition Documentation

◆ CCSIDR_ASSOCIATIVITY_MASK

#define CCSIDR_ASSOCIATIVITY_MASK   (0x3FF << 3)

Definition at line 30 of file ARMCacheV7.cpp.

◆ CCSIDR_ASSOCIATIVITY_OFFSET

#define CCSIDR_ASSOCIATIVITY_OFFSET   3

Definition at line 29 of file ARMCacheV7.cpp.

◆ CCSIDR_LINE_SIZE_MASK

#define CCSIDR_LINE_SIZE_MASK   0x7

Definition at line 28 of file ARMCacheV7.cpp.

◆ CCSIDR_LINE_SIZE_OFFSET

#define CCSIDR_LINE_SIZE_OFFSET   0

Definition at line 27 of file ARMCacheV7.cpp.

◆ CCSIDR_NUM_SETS_MASK

#define CCSIDR_NUM_SETS_MASK   (0x7FFF << 13)

Definition at line 32 of file ARMCacheV7.cpp.

◆ CCSIDR_NUM_SETS_OFFSET

#define CCSIDR_NUM_SETS_OFFSET   13

Definition at line 31 of file ARMCacheV7.cpp.

Function Documentation

◆ log_2_n_round_up()

static s32 log_2_n_round_up ( u32  n)
inlinestatic

Definition at line 201 of file ARMCacheV7.cpp.

Referenced by ARMCacheV7::flushLevel().