Pyrogenesis  trunk
Functions | Variables
x86_x64::AMD Namespace Reference

Functions

static x86_x64::Cache L1Cache (u32 reg, x86_x64::Cache::Type type)
 
static x86_x64::Cache L2Cache (u32 reg, x86_x64::Cache::Type type)
 
static x86_x64::Cache L3Cache (u32 reg, x86_x64::Cache::Type type)
 
static x86_x64::Cache TLB1 (u32 reg, size_t bitOffset, size_t pageSize, x86_x64::Cache::Type type)
 
static x86_x64::Cache TLB2 (u32 reg, size_t bitOffset, size_t pageSize, x86_x64::Cache::Type type)
 
static void AddTLB2Pair (u32 reg, size_t pageSize)
 
static void DetectCacheAndTLB ()
 

Variables

static const size_t associativityTable [16]
 

Function Documentation

static void x86_x64::AMD::AddTLB2Pair ( u32  reg,
size_t  pageSize 
)
static
static void x86_x64::AMD::DetectCacheAndTLB ( )
static
static x86_x64::Cache x86_x64::AMD::L1Cache ( u32  reg,
x86_x64::Cache::Type  type 
)
static
static x86_x64::Cache x86_x64::AMD::L2Cache ( u32  reg,
x86_x64::Cache::Type  type 
)
static
static x86_x64::Cache x86_x64::AMD::L3Cache ( u32  reg,
x86_x64::Cache::Type  type 
)
static
static x86_x64::Cache x86_x64::AMD::TLB1 ( u32  reg,
size_t  bitOffset,
size_t  pageSize,
x86_x64::Cache::Type  type 
)
static
static x86_x64::Cache x86_x64::AMD::TLB2 ( u32  reg,
size_t  bitOffset,
size_t  pageSize,
x86_x64::Cache::Type  type 
)
static

Variable Documentation

const size_t x86_x64::AMD::associativityTable[16]
static
Initial value:
=
{
0, 1, 2, 0, 4, 0, 8, 0,
16, 0, 32, 48, 64, 96, 128, x86_x64::Cache::fullyAssociative
}
static const size_t fullyAssociative
Definition: cache.h:42