lpte
return (sizeof(struct lpte) * moea64_pteg_count * 8);
moea64_pte_from_pvo(const struct pvo_entry *pvo, struct lpte *lpte)
lpte->pte_hi = moea64_pte_vpn_from_pvo_vpn(pvo);
lpte->pte_hi |= LPTE_VALID;
lpte->pte_hi |= LPTE_BIG;
lpte->pte_hi |= LPTE_WIRED;
lpte->pte_hi |= LPTE_HID;
lpte->pte_lo = pvo->pvo_pte.pa; /* Includes WIMG bits */
lpte->pte_lo |= LPTE_BW;
lpte->pte_lo |= LPTE_BR;
lpte->pte_lo |= LPTE_NOEXEC;
void moea64_pte_from_pvo(const struct pvo_entry *pvo, struct lpte *lpte);
static volatile struct lpte *moea64_pteg_table;
volatile struct lpte *pt = moea64_pteg_table + pvo->pvo_pte.slot;
volatile struct lpte *pt = moea64_pteg_table + pvo->pvo_pte.slot;
struct lpte properpt;
moea64_pte_unset_locked(volatile struct lpte *pt, uint64_t vpn)
volatile struct lpte *pt = moea64_pteg_table + pvo->pvo_pte.slot;
volatile struct lpte *pt)
struct lpte properpt;
volatile struct lpte *pt = moea64_pteg_table + pvo->pvo_pte.slot;
struct lpte properpt;
moea64_pteg_table = (struct lpte *)moea64_bootstrap_alloc(size,
(struct lpte *)PHYS_TO_DMAP((vm_offset_t)moea64_pteg_table);
atomic_pte_lock(volatile struct lpte *pte, uint64_t bitmask, uint64_t *oldhi)
moea64_insert_to_pteg_native(struct lpte *pvo_pt, uintptr_t slotbase,
volatile struct lpte *pt;
moea64_pte_insert_locked(struct pvo_entry *pvo, struct lpte *insertpt,
struct lpte insertpt;
ptex_end = ptex + dctx->blksz / sizeof(struct lpte);
*nbytes = (ptex_end - ptex) * sizeof(struct lpte);
return (__DEVOLATILE(struct lpte *, moea64_pteg_table) + ptex);
volatile struct lpte *pt;
struct lpte insertpt;
struct lpte pt[8];
typedef struct lpte lpte_t;
struct lpte pte;
struct lpte pte, evicted;
struct lpte old;
struct lpte pte;
struct lpte pte;
mphyp_pte_spillable_ident(uintptr_t ptegbase, struct lpte *to_evict)
struct lpte pt;
memcpy(to_evict, &pt, sizeof(struct lpte));
mphyp_pte_insert_locked(struct pvo_entry *pvo, struct lpte *pte)
struct lpte evicted;
mphyp_pte_evict_and_insert_locked(struct pvo_entry *pvo, struct lpte *pte)
struct lpte evicted;
struct lpte pte;
struct lpte p, *pbuf;
pbuf = (struct lpte *)buf;
ptex_end = ptex + dctx->blksz / sizeof(struct lpte);
*nbytes = (ptex_end - ptex) * sizeof(struct lpte);
struct lpte pte;
struct lpte pte;