Searched refs:enmProt (Results 1 - 11 of 11) 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 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...]
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 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);
/vbox/include/VBox/vmm/
H A Dpgm.h284 * @param enmProt The PGMROMPROT value, must be valid.
286 #define PGMROMPROT_IS_ROM(enmProt) \
287 ( (enmProt) == PGMROMPROT_READ_ROM_WRITE_IGNORE \
288 || (enmProt) == PGMROMPROT_READ_ROM_WRITE_RAM )
496 VMMR3DECL(int) PGMR3PhysRomProtect(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, PGMROMPROT enmProt);
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/Runtime/common/ldr/
H A DldrkStuff.cpp708 switch (paSegments[iSeg].enmProt)
711 AssertMsgFailed(("%d\n", paSegments[iSeg].enmProt));
/vbox/src/VBox/VMM/VMMAll/
H A DPGMAllPhys.cpp96 switch (pRom->aPages[iPage].enmProt)
137 AssertMsgFailedReturn(("enmProt=%d iPage=%d GCPhysFault=%RGp\n",
138 pRom->aPages[iPage].enmProt, iPage, GCPhysFault),
/vbox/src/VBox/VMM/testcase/
H A DtstVMStruct.h820 GEN_CHECK_OFF(PGMROMPAGE, enmProt);
/vbox/src/VBox/VMM/include/
H A DPGMInternal.h1476 PGMROMPROT enmProt; member in struct:PGMROMPAGE

Completed in 133 milliseconds