Lines Matching defs:cbPages
743 * @param cbPages Number of bytes to map.
747 VMMR3DECL(int) PGMR3MapIntermediate(PVM pVM, RTUINTPTR Addr, RTHCPHYS HCPhys, unsigned cbPages)
749 LogFlow(("PGMR3MapIntermediate: Addr=%RTptr HCPhys=%RHp cbPages=%#x\n", Addr, HCPhys, cbPages));
754 cbPages += (uint32_t)HCPhys & PAGE_OFFSET_MASK;
755 cbPages = RT_ALIGN(cbPages, PAGE_SIZE);
766 AssertMsg(cbPages <= (512 << PAGE_SHIFT), ("The mapping is too big %d bytes\n", cbPages));
767 AssertMsg(HCPhys < _4G && HCPhys + cbPages < _4G, ("Addr=%RTptr HCPhys=%RHp cbPages=%d\n", Addr, HCPhys, cbPages));
776 ? HCPhys - uAddress < cbPages
777 : uAddress - HCPhys < cbPages
780 AssertLogRelMsgFailedReturn(("Addr=%RTptr HCPhys=%RHp cbPages=%d\n", Addr, HCPhys, cbPages),
783 const unsigned cPages = cbPages >> PAGE_SHIFT;