/vbox/src/VBox/VMM/VMMAll/ |
H A D | PGMAll.cpp | 591 return PGMIsValidAccess(pVCpu, Addr + PAGE_SIZE, (cbSize > PAGE_SIZE) ? cbSize - PAGE_SIZE : 1, fAccess); 687 Addr += PAGE_SIZE; 688 if (cbSize > PAGE_SIZE) 689 cbSize -= PAGE_SIZE; 864 int rc = PGM_SHW_PFN(ModifyPage, pVCpu)(pVCpu, GCPtr, PAGE_SIZE, fFlags, fMask, fOpFlags); 1536 cb = RT_ALIGN_Z(cb, PAGE_SIZE); 1669 RCPtr = (RTRCPTR)(RTRCUINTPTR)(pVM->pgm.s.GCPtrCR3Mapping + (1 + iPdpt) * PAGE_SIZE); 1670 rc = PGMMap(pVM, (RTRCUINTPTR)RCPtr, PGM_PAGE_GET_HCPHYS(pPage), PAGE_SIZE, [all...] |
H A D | MMAllHyper.cpp | 203 * Values are 0,8,16,32,64 and PAGE_SIZE. 234 case PAGE_SIZE: 235 AssertMsg(RT_ALIGN_32(cb, PAGE_SIZE) == cb, ("The size isn't page aligned. (cb=%#x)\n", cb)); 236 cbAligned = RT_ALIGN_32(cb, PAGE_SIZE); 265 if (uAlignment < PAGE_SIZE) 350 * Values are 0,8,16,32,64 and PAGE_SIZE. 662 AssertMsg(RT_ALIGN_P(pvRet, PAGE_SIZE) == pvRet, ("pvRet=%p cb=%#x pFree=%p pFree->cb=%#x\n", pvRet, cb, pFree, pFree->cb));
|
H A D | PGMAllBth.h | 1352 GCPhys = PGM_A20_APPLY(pVCpu, GCPhys | ((iPDDst & 1) * (PAGE_SIZE / 2))); 1980 GCPhys = PGM_A20_APPLY(pVCpu, GCPhys | ((iPDDst & 1) * (PAGE_SIZE / 2))); 2747 GCPhys = PGM_A20_APPLY(pVCpu, GCPhys | ((iPDDst & 1) * (PAGE_SIZE / 2))); 2892 for (; iPTDst < iPTDstEnd; iPTDst++, GCPtrCur += PAGE_SIZE) 3059 GCPhys += PAGE_SIZE; 3078 GCPhys += PAGE_SIZE; 3817 unsigned cIncrement = X86_PG_ENTRIES * PAGE_SIZE; 3824 unsigned cIncrement = X86_PG_PAE_ENTRIES * PAGE_SIZE; 3827 unsigned cIncrement = X86_PG_PAE_ENTRIES * PAGE_SIZE; 4040 GCPhysGst = PGM_A20_APPLY(pVCpu, GCPhysGst | ((iPDDst & 1) * (PAGE_SIZE / [all...] |
H A D | PGMAllShw.h | 484 cb -= PAGE_SIZE; 487 GCPtr += PAGE_SIZE;
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTFileAio.cpp | 70 RTTESTI_CHECK_RC_OK_RETV(RTTestGuardedAlloc(g_hTest, cbTestBuf, PAGE_SIZE, true /*fHead*/, &papvBuf[i]));
|
/vbox/src/VBox/Runtime/common/misc/ |
H A D | handletablectx.cpp | 110 ? pThis->cLevel1 + PAGE_SIZE / sizeof(void *)
|
H A D | handletablesimple.cpp | 102 ? pThis->cLevel1 + PAGE_SIZE / sizeof(void *)
|
/vbox/src/VBox/Additions/common/VBoxGuestLib/ |
H A D | VBoxGuestR0LibSharedFolders.h | 32 # undef PAGE_SIZE macro
|
/vbox/src/VBox/Additions/darwin/VBoxClient/ |
H A D | VBoxClientClipboardGuestToHost.cpp | 157 cbAlloc = RT_ALIGN_32(cbData, PAGE_SIZE);
|
H A D | VBoxClientClipboardHostToGuest.cpp | 65 cbDataSizeInternal = cbMemSizeInternal = RT_ALIGN_32(cbDataSizeInternal, PAGE_SIZE);
|
/vbox/src/VBox/Runtime/r0drv/linux/ |
H A D | the-linux-kernel.h | 385 # undef PAGE_SIZE macro
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PGMDbg.cpp | 215 size_t cbChunk = PAGE_SIZE; 266 size_t cbChunk = PAGE_SIZE; 321 size_t cbChunk = PAGE_SIZE; 377 size_t cbChunk = PAGE_SIZE; 617 const uint32_t cIncPages = GCPhysAlign <= PAGE_SIZE 673 if (GCPhysAlign < PAGE_SIZE) 676 ? PAGE_SIZE - (uint32_t)offPage 789 const uint32_t cIncPages = GCPtrAlign <= PAGE_SIZE 818 if (GCPtrAlign < PAGE_SIZE) 821 ? PAGE_SIZE [all...] |
H A D | SELM.cpp | 135 AssertCompile((RT_OFFSETOF(VM, selm.s.Tss) & PAGE_OFFSET_MASK) <= PAGE_SIZE - sizeof(pVM->selm.s.Tss)); 136 AssertCompile((RT_OFFSETOF(VM, selm.s.TssTrap08) & PAGE_OFFSET_MASK) <= PAGE_SIZE - sizeof(pVM->selm.s.TssTrap08)); 138 AssertRelease((RT_OFFSETOF(VM, selm.s.Tss) & PAGE_OFFSET_MASK) <= PAGE_SIZE - sizeof(pVM->selm.s.Tss)); 139 AssertRelease((RT_OFFSETOF(VM, selm.s.TssTrap08) & PAGE_OFFSET_MASK) <= PAGE_SIZE - sizeof(pVM->selm.s.TssTrap08)); 158 PAGE_SIZE, MM_TAG_SELM, (void **)&pVM->selm.s.paGdtR3); 164 rc = MMR3HyperAllocOnceNoRel(pVM, _64K + PAGE_SIZE, PAGE_SIZE, MM_TAG_SELM, &pVM->selm.s.pvLdtR3); 476 pVM->selm.s.TssTrap08.esp0 = VMMGetStackRC(pVCpu) - PAGE_SIZE / 2; /* upper half can be analysed this way. */ 540 pVM->selm.s.pvLdtRC + _64K + PAGE_SIZE - 1, 831 RTUINT cb = PAGE_SIZE [all...] |
H A D | PATMR3Dbg.cpp | 318 rc = RTDbgModCreate(&hDbgMod, "patches", pVM->patm.s.cbPatchMem + PATM_STACK_TOTAL_SIZE + PAGE_SIZE, 0 /*fFlags*/);
|
H A D | PGMSharedPage.cpp | 389 GCPhys += PAGE_SIZE;
|
/vbox/src/VBox/VMM/testcase/ |
H A D | tstX86-1A.asm | 262 mov byte [xDX + TRAPINFO.cbInstr], PAGE_SIZE - (%2) 1544 add xDI, PAGE_SIZE - 512 1596 add xDI, PAGE_SIZE - 512 1672 add xDI, PAGE_SIZE - 512 * 2 1679 ShouldTrap X86_XCPT_PF, fxsave [xSI + PAGE_SIZE - 512 + xBX] 1694 mov ecx, PAGE_SIZE / 4 1711 lea xDI, [xDI + PAGE_SIZE - 512 + xBX] 1721 ShouldTrap X86_XCPT_PF, fxrstor [xDI + PAGE_SIZE - 512 + xBX] ; try load unique state 1853 add xAX, PAGE_SIZE - 3 1857 ShouldTrapExecPage X86_XCPT_UD, PAGE_SIZE [all...] |
/vbox/src/VBox/Devices/Graphics/ |
H A D | DevVGA-SVGA.cpp | 1333 pSVGAState->aGMR[idGMR].cbTotal += desc.numPages * PAGE_SIZE; 1910 && GCPhys < pGMR->paDesc[j].GCPhys + pGMR->paDesc[j].numPages * PAGE_SIZE) 1940 pGMR->paDesc[i].GCPhys, pGMR->paDesc[i].GCPhys + pGMR->paDesc[i].numPages * PAGE_SIZE - 1, 2612 paNewPage64[idxPage++] = (pGMR->paDesc[i].GCPhys + j * PAGE_SIZE) >> PAGE_SHIFT; 2663 pGMR->cbTotal = PAGE_SIZE; 2673 if (GCPhys == pGMR->paDesc[iDescriptor].GCPhys + pGMR->paDesc[iDescriptor].numPages * PAGE_SIZE) 2687 pGMR->cbTotal += PAGE_SIZE; 3355 while (offDesc + pDesc->numPages * PAGE_SIZE <= offCurrent) 3357 offDesc += pDesc->numPages * PAGE_SIZE; 3366 if (offCurrent + cbCurrentWidth <= offDesc + pDesc->numPages * PAGE_SIZE) [all...] |
/vbox/src/VBox/Additions/solaris/DRM/include/ |
H A D | drmP.h | 87 #define PAGE_SIZE DRM_PAGE_SIZE macro 124 #define DRM_MAX_CTXBITMAP (PAGE_SIZE * 8)
|
/vbox/src/VBox/VMM/include/ |
H A D | HMInternal.h | 217 #define HM_EPT_IDENTITY_PG_TABLE_SIZE PAGE_SIZE 219 #define HM_VTX_TSS_SIZE (sizeof(VBOXTSS) + 2 * PAGE_SIZE + 1)
|
/vbox/src/VBox/ValidationKit/utils/cpu/ |
H A D | cidet.h | 618 #define CIDET_CODE_BUF_SIZE (PAGE_SIZE * 2) 620 #define CIDET_DATA_BUF_SIZE (PAGE_SIZE * 3)
|
/vbox/src/VBox/Main/include/ |
H A D | USBProxyService.h | 141 # undef PAGE_SIZE macro
|
/vbox/src/VBox/HostDrivers/Support/darwin/ |
H A D | SUPDrv-darwin.cpp | 707 pvPageBuf = pHdr = (PSUPREQHDR)IOMallocAligned(RT_ALIGN_Z(cbReq, PAGE_SIZE), 8); 719 IOFreeAligned(pvPageBuf, RT_ALIGN_Z(cbReq, PAGE_SIZE)); 757 IOFreeAligned(pvPageBuf, RT_ALIGN_Z(cbReq, PAGE_SIZE)); 770 IOFreeAligned(pvPageBuf, RT_ALIGN_Z(cbReq, PAGE_SIZE));
|
/vbox/src/VBox/Runtime/common/asm/ |
H A D | asm-fake.cpp | 194 uint32_t cbLeft = PAGE_SIZE / sizeof(uintptr_t);
|
/vbox/src/VBox/Runtime/r3/ |
H A D | test.cpp | 90 /** The size of a guard. Multiple of PAGE_SIZE. */ 248 pTest->cbGuard = PAGE_SIZE * 7; 565 AssertReturn(cbAlign <= PAGE_SIZE, VERR_INVALID_PARAMETER); 575 size_t const cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE); 589 off = PAGE_SIZE - RT_ALIGN_Z(off, cbAlign);
|
/vbox/src/recompiler/ |
H A D | VBoxRecompiler.c | 524 uint32_t cbBitmapAligned = RT_ALIGN_32(ram_list.phys_dirty_size, PAGE_SIZE); 3188 tb_invalidate_phys_page_range(PhysGC, PhysGC + PAGE_SIZE - 1, 0); 3211 Assert(RT_ALIGN_T(GCPhys, PAGE_SIZE, RTGCPHYS) == GCPhys); 3213 Assert(RT_ALIGN_Z(cb, PAGE_SIZE) == cb); 3260 Assert(RT_ALIGN_T(GCPhys, PAGE_SIZE, RTGCPHYS) == GCPhys); 3262 Assert(RT_ALIGN_Z(cb, PAGE_SIZE) == cb); 3292 Assert(RT_ALIGN_T(GCPhys, PAGE_SIZE, RTGCPHYS) == GCPhys); 3294 Assert(RT_ALIGN_Z(cb, PAGE_SIZE) == cb); 3327 Assert(RT_ALIGN_T(GCPhys, PAGE_SIZE, RTGCPHYS) == GCPhys); 3328 Assert(RT_ALIGN_T(cb, PAGE_SIZE, RTGCPHY [all...] |