VirtualBox

Ignore:
Timestamp:
Nov 6, 2021 3:10:49 AM (3 years ago)
Author:
vboxsync
Message:

IPRT/RTR0MemObj: Added RTR0MemObjWasZeroInitialized and a couple of flags with which the backend can feed it the necessary info. It would be good to try avoid zeroing memory twice when we can. bugref:10093

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/memobj.h

    r91483 r92246  
    9292 * @{ */
    9393/** Page level protection was changed. */
    94 #define RTR0MEMOBJ_FLAGS_PROT_CHANGED       RT_BIT_32(0)
     94#define RTR0MEMOBJ_FLAGS_PROT_CHANGED               RT_BIT_32(0)
     95/** Zero initialized at allocation. */
     96#define RTR0MEMOBJ_FLAGS_ZERO_AT_ALLOC              RT_BIT_32(1)
     97/** Uninitialized at allocation. */
     98#define RTR0MEMOBJ_FLAGS_UNINITIALIZED_AT_ALLOC     RT_BIT_32(2)
    9599/** @} */
    96100
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