VirtualBox

Changeset 17510 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 7, 2009 3:54:02 AM (16 years ago)
Author:
vboxsync
Message:

PGM,EM,PDMDevHlp: Added PGMPhysInterpretedReadNoHandlers and PGMPhysInterpretedWriteNoHandlers for EM, and PGMR3PhysReadExternal and PGMR3PhysWriteExternal for PDMDevHlp. The former because PGMPhysRead/Write aren't the right APIs there (enforced now), and the latter because we have to make sure non-EMTs doesn't execute handlers or allocate pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pgm.h

    r17489 r17510  
    420420#endif /* !IN_RC */
    421421VMMDECL(int)        PGMPhysInterpretedRead(PVM pVM, PCPUMCTXCORE pCtxCore, void *pvDst, RTGCPTR GCPtrSrc, size_t cb);
     422VMMDECL(int)        PGMPhysInterpretedReadNoHandlers(PVM pVM, PCPUMCTXCORE pCtxCore, void *pvDst, RTGCUINTPTR GCPtrSrc, size_t cb, bool fRaiseTrap);
     423VMMDECL(int)        PGMPhysInterpretedWriteNoHandlers(PVM pVM, PCPUMCTXCORE pCtxCore, RTGCPTR GCPtrDst, void const *pvSrc, size_t cb, bool fRaiseTrap);
    422424#ifdef VBOX_STRICT
    423425VMMDECL(unsigned)   PGMAssertHandlerAndFlagsInSync(PVM pVM);
     
    566568VMMR3DECL(void)     PGMR3PhysWriteU32(PVM pVM, RTGCPHYS GCPhys, uint32_t Value);
    567569VMMR3DECL(void)     PGMR3PhysWriteU64(PVM pVM, RTGCPHYS GCPhys, uint64_t Value);
     570VMMR3DECL(int)      PGMR3PhysReadExternal(PVM pVM, RTGCPHYS GCPhys, void *pvBuf, size_t cbRead);
     571VMMR3DECL(int)      PGMR3PhysWriteExternal(PVM pVM, RTGCPHYS GCPhys, const void *pvBuf, size_t cbWrite);
    568572VMMR3DECL(int)      PGMR3PhysChunkMap(PVM pVM, uint32_t idChunk);
    569573VMMR3DECL(void)     PGMR3PhysChunkInvalidateTLB(PVM pVM);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette