Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 734164 | Differences between
and this patch

Collapse All | Expand All

(-)ps/trunk/source/lib/sysdep/arch/x86_x64/cache.cpp (-1 / +2 lines)
Lines 89-95 Link Here
89
static const size_t associativityTable[16] =
89
static const size_t associativityTable[16] =
90
{
90
{
91
	0, 1, 2, 0, 4, 0, 8, 0,
91
	0, 1, 2, 0, 4, 0, 8, 0,
92
	16, 0, 32, 48, 64, 96, 128, x86_x64::Cache::fullyAssociative
92
	// TODO: The second '16' does not obey to the specifications and is only a workaround. For a correct implementation please look here: https://community.amd.com/thread/244207
93
	16, 16, 32, 48, 64, 96, 128, x86_x64::Cache::fullyAssociative
93
};
94
};
94
95
95
static x86_x64::Cache L2Cache(u32 reg, x86_x64::Cache::Type type)
96
static x86_x64::Cache L2Cache(u32 reg, x86_x64::Cache::Type type)

Return to bug 734164