Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3466 → Rev 3467

/branches/sparc/kernel/arch/sparc64/include/mm/tte.h
50,6 → 50,7
 
#include <arch/types.h>
 
// TODO find out what this means
#define VA_TAG_PAGE_SHIFT 22
 
/** Translation Table Entry - Tag. */
/branches/sparc/kernel/arch/sparc64/include/mm/cache_spec.h
38,20 → 38,29
/*
* The following macros are valid for the following processors:
*
* UltraSPARC, UltraSPARC II, UltraSPARC IIi
* UltraSPARC, UltraSPARC II, UltraSPARC IIi, UltraSPARC III Cu
*
* Should we support other UltraSPARC processors, we need to make sure that
* the macros are defined correctly for them.
*/
 
#if defined (US)
#define DCACHE_SIZE (16 * 1024)
#elif defined (US3)
#define DCACHE_SIZE (64 * 1024)
#endif
#define DCACHE_LINE_SIZE 32
 
#if defined (US)
#define ICACHE_SIZE (16 * 1024)
#define ICACHE_WAYS 2
#elif defined (US3)
#define ICACHE_SIZE (32 * 1024)
#define ICACHE_WAYS 4
#endif
#define ICACHE_LINE_SIZE 32
 
#endif
 
/** @}
*/
*/