diff options
Diffstat (limited to 'sys/sun4v/include/tte.h')
-rw-r--r-- | sys/sun4v/include/tte.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/sun4v/include/tte.h b/sys/sun4v/include/tte.h index 8367575..4cdcd0d 100644 --- a/sys/sun4v/include/tte.h +++ b/sys/sun4v/include/tte.h @@ -125,6 +125,17 @@ struct pmap; #define VTD_32M TTE32M #define VTD_256M TTE256M + +/* + * sparc64 compatibility for the loader + */ + +#define TD_SIZE_SHIFT (61) +#define TS_4M (3UL) + +#define TD_V (1UL << 63) +#define TD_4M (TS_4M << TD_SIZE_SHIFT) + /* * default flags for kernel pages */ |