Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

RTR0MEMOBJINTERNAL Struct Reference
[Internals.]

#include <memobj.h>

List of all members.


Detailed Description

Ring-0 memory object.

When using the PRTR0MEMOBJINTERNAL and PPRTR0MEMOBJINTERNAL types we get pMem and ppMem variable names.

When using the RTR0MEMOBJ and PRTR0MEMOBJ types we get MemObj and pMemObj variable names. We never dereference variables of the RTR0MEMOBJ type, we always convert it to a PRTR0MEMOBJECTINTERNAL variable first.

Definition at line 112 of file memobj.h.


Public Attributes

size_t cb
uint32_t cbSelf
RTR0MEMOBJTYPE enmType
uint32_t fFlags
void * pv
union {
   struct {
      RTHCPHYS   Phys
   }   Cont
   struct {
      RTR0PROCESS   R0Process
   }   Lock
   struct {
      unsigned   iDummy
   }   Low
   struct {
      RTR0PROCESS   R0Process
   }   Mapping
   struct {
      unsigned   iDummy
   }   Page
   struct {
      bool   fAllocated
      RTHCPHYS   PhysBase
   }   Phys
   struct {
      unsigned   iDummy
   }   PhysNC
   struct {
      RTR0PROCESS   R0Process
   }   ResVirt
u
uint32_t u32Magic
union {
   struct {
      PRTR0MEMOBJINTERNAL   pParent
   }   Child
   struct {
      uint32_t   cMappings
      uint32_t   cMappingsAllocated
      PPRTR0MEMOBJINTERNAL   papMappings
   }   Parent
uRel

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index