Use the canonical bits for wired, etc. in the PTE. This is important for

interactions with certain kinds of hypervisors that look into the PTEs
more closely than they should.

Approved by:	re (kib)
This commit is contained in:
nwhitehorn 2013-09-09 12:44:48 +00:00
parent ea72ce4e68
commit edb58d082b

View File

@ -96,8 +96,9 @@ struct lpteg {
#define LPTE_VSID_SHIFT 12
#define LPTE_AVPN_MASK 0xFFFFFFFFFFFFFF80ULL
#define LPTE_API 0x0000000000000F80ULL
#define LPTE_LOCKED 0x0000000000000040ULL
#define LPTE_WIRED 0x0000000000000008ULL
#define LPTE_SWBITS 0x0000000000000078ULL
#define LPTE_WIRED 0x0000000000000010ULL
#define LPTE_LOCKED 0x0000000000000008ULL
#define LPTE_BIG 0x0000000000000004ULL /* 4kb/16Mb page */
#define LPTE_HID 0x0000000000000002ULL
#define LPTE_VALID 0x0000000000000001ULL