VirtualBox

Changeset 21094 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jun 30, 2009 6:53:15 PM (16 years ago)
Author:
vboxsync
Message:

VMM: Added MMR3HyperAllocOnceNoRelEx so that we can force the ring-0 logger instances to always have a valid ring-0 mapping. Fixes crashes on FC8 when hitting a breakpoint (debug build w/ ring-0 logging enabled).

File:
1 edited

Legend:

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

    r20678 r21094  
    263263 * @{ */
    264264VMMR3DECL(int)      MMR3HyperAllocOnceNoRel(PVM pVM, size_t cb, uint32_t uAlignment, MMTAG enmTag, void **ppv);
     265VMMR3DECL(int)      MMR3HyperAllocOnceNoRelEx(PVM pVM, size_t cb, uint32_t uAlignment, MMTAG enmTag, uint32_t fFlags, void **ppv);
     266/** @name  MMR3HyperAllocOnceNoRelEx flags
     267 * @{ */
     268/** Must have kernel mapping.
     269 * If not specified, the R0 pointer may point to the user process mapping. */
     270#define MMHYPER_AONR_FLAGS_KERNEL_MAPPING   RT_BIT(0)
     271/** @} */
    265272VMMR3DECL(int)      MMR3HyperSetGuard(PVM pVM, void *pvStart, size_t cb, bool fSet);
    266273VMMR3DECL(int)      MMR3HyperMapHCPhys(PVM pVM, void *pvR3, RTR0PTR pvR0, RTHCPHYS HCPhys, size_t cb, const char *pszDesc, PRTGCPTR pGCPtr);
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