Searched defs:enmProt (Results 1 - 7 of 7) sorted by relevance

/vbox/src/libs/kStuff/iprt/
H A DkHlpPage-iprt.cpp29 static unsigned kHlpPageProtToNative(KPROT enmProt) argument
31 switch (enmProt)
46 KHLP_DECL(int) kHlpPageAlloc(void **ppv, KSIZE cb, KPROT enmProt, KBOOL fFixed) argument
54 rc = RTMemProtect(pv, cb, kHlpPageProtToNative(enmProt));
64 KHLP_DECL(int) kHlpPageProtect(void *pv, KSIZE cb, KPROT enmProt) argument
66 int rc = RTMemProtect(pv, cb, kHlpPageProtToNative(enmProt));
H A DkRdrFile-iprt.cpp194 static unsigned krdrRTFileConvertProt(KPROT enmProt) argument
196 switch (enmProt)
225 KPROT enmProt; local
231 enmProt = (KPROT)paSegments[i].enmProt; /** @todo drop cast */
234 switch (enmProt)
240 enmProt = KPROT_READWRITE;
246 enmProt = KPROT_EXECUTE_READWRITE;
256 if (enmProt == KPROT_EXECUTE_WRITECOPY)
257 enmProt
[all...]
/vbox/src/VBox/VMM/VMMR3/
H A DPDMDevHlp.cpp567 static DECLCALLBACK(int) pdmR3DevHlp_ROMProtectShadow(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange, PGMROMPROT enmProt) argument
570 LogFlow(("pdmR3DevHlp_ROMProtectShadow: caller='%s'/%d: GCPhysStart=%RGp cbRange=%#x enmProt=%d\n",
571 pDevIns->pReg->szName, pDevIns->iInstance, GCPhysStart, cbRange, enmProt));
573 int rc = PGMR3PhysRomProtect(pDevIns->Internal.s.pVMR3, GCPhysStart, cbRange, enmProt);
H A DPGMPhys.cpp3410 pPage->enmProt = PGMROMPROT_READ_ROM_WRITE_IGNORE;
3531 Log5(("pgmR3PhysRomWriteHandler: %d %c %#08RGp %#04zx\n", pRomPage->enmProt, enmAccessType == PGMACCESSTYPE_READ ? 'R' : 'W', GCPhys, cbBuf));
3536 switch (pRomPage->enmProt)
3548 AssertMsgFailedReturn(("enmProt=%d iPage=%d GCPhys=%RGp\n",
3549 pRom->aPages[iPage].enmProt, iPage, GCPhys),
3556 switch (pRomPage->enmProt)
3585 if (!PGMROMPROT_IS_ROM(pRomPage->enmProt))
3604 AssertMsgFailedReturn(("enmProt=%d iPage=%d GCPhys=%RGp\n",
3605 pRom->aPages[iPage].enmProt, iPage, GCPhys),
3763 * @param enmProt Th
3765 PGMR3PhysRomProtect(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, PGMROMPROT enmProt) argument
[all...]
H A DPGMSavedState.cpp253 if (PGMROMPROT_IS_ROM(pRom->aPages[iPage].enmProt))
450 PGMROMPROT enmProt = pRom->aPages[iPage].enmProt; local
454 if (PGMROMPROT_IS_ROM(enmProt))
484 SSMR3PutU8(pSSM, (uint8_t)enmProt);
491 pRom->aPages[iPage].LiveSave.u8Prot = (uint8_t)enmProt;
547 PGMROMPROT enmProt = pRomPage->enmProt; local
549 PPGMPAGE pPage = PGMROMPROT_IS_ROM(enmProt) ? &pRomPage->Shadow : pgmPhysGetPage(pVM, GCPhys);
561 pRomPage->LiveSave.u8Prot = (uint8_t)enmProt;
593 PGMROMPROT enmProt = pRomPage->enmProt; local
2349 PGMROMPROT enmProt = (PGMROMPROT)uProt; local
[all...]
/vbox/include/VBox/vmm/
H A Dpdmdev.h2522 * @param enmProt The new protection type.
2524 DECLR3CALLBACKMEMBER(int, pfnROMProtectShadow,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange, PGMROMPROT enmProt));
4523 DECLINLINE(int) PDMDevHlpROMProtectShadow(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange, PGMROMPROT enmProt) argument
4525 return pDevIns->pHlpR3->pfnROMProtectShadow(pDevIns, GCPhysStart, cbRange, enmProt);
/vbox/src/VBox/VMM/include/
H A DPGMInternal.h1476 PGMROMPROT enmProt; member in struct:PGMROMPAGE

Completed in 1345 milliseconds