#include <linux/const.h>
#include <asm/page.h>
#include <asm/hypervisor.h>
Go to the source code of this file.
#define CTX_CHEETAH_PLUS_CTX0 |
#define CTX_CHEETAH_PLUS_NUC |
#define CTX_HWBITS |
( |
|
__ctx | ) |
((__ctx.sparc64_ctx_val) & CTX_HW_MASK) |
#define CTX_NRBITS |
( |
|
__ctx | ) |
((__ctx.sparc64_ctx_val) & CTX_NR_MASK) |
#define CTX_PGSZ0_NUC_SHIFT 61 |
#define CTX_PGSZ0_SHIFT 16 |
#define CTX_PGSZ1_NUC_SHIFT 58 |
#define CTX_PGSZ1_SHIFT 19 |
#define CTX_PGSZ_4MB _AC(0x3,UL) |
#define CTX_PGSZ_512KB _AC(0x2,UL) |
#define CTX_PGSZ_64KB _AC(0x1,UL) |
#define CTX_PGSZ_8KB _AC(0x0,UL) |
#define CTX_PGSZ_BITS _AC(0x7,UL) |
#define CTX_VERSION_MASK ((~0UL) << CTX_VERSION_SHIFT) |
#define CTX_VERSION_SHIFT 22 |
#define TSB_CONFIG_MAP_PTE 0x28 |
#define TSB_CONFIG_MAP_VADDR 0x20 |
#define TSB_CONFIG_NENTRIES 0x10 |
#define TSB_CONFIG_REG_VAL 0x18 |
#define TSB_CONFIG_RSS_LIMIT 0x08 |
#define TSB_CONFIG_TSB 0x00 |
#define TSB_ENTRY_ALIGNMENT 16 |