memspy/memspy_plat/memspy_api/include/memspy/driver/shared/MemSpyDriverObjectsSharedRHeap.h
branchRCL_3
changeset 18 3406c99bc375
parent 0 a03f92240627
child 20 ca8a1b6995f6
equal deleted inserted replaced
16:8f8df8006c40 18:3406c99bc375
    17 
    17 
    18 #ifndef MEMSPYDRIVEROBJECTSSHAREDRHEAP_H
    18 #ifndef MEMSPYDRIVEROBJECTSSHAREDRHEAP_H
    19 #define MEMSPYDRIVEROBJECTSSHAREDRHEAP_H
    19 #define MEMSPYDRIVEROBJECTSSHAREDRHEAP_H
    20 
    20 
    21 // System includes
    21 // System includes
    22 #include <e32cmn.h>
    22 #include <u32std.h>
    23 #include <e32ldr.h>
       
    24 #include <e32ldr_private.h>
       
    25 #ifndef __KERNEL_MODE__
    23 #ifndef __KERNEL_MODE__
    26 #include <e32debug.h>
    24 #include <e32debug.h>
    27 #endif
    25 #endif
    28 
    26 
    29 // User includes
    27 // User includes
    91 	TUint8* iBase;
    89 	TUint8* iBase;
    92 	TUint8* iTop;
    90 	TUint8* iTop;
    93 	TInt iAlign;
    91 	TInt iAlign;
    94 	TInt iMinCell;
    92 	TInt iMinCell;
    95 	TInt iPageSize;
    93 	TInt iPageSize;
       
    94 #ifdef __SYMBIAN_KERNEL_HYBRID_HEAP__
       
    95 	struct SCell { TInt len; SCell* next };
       
    96     SCell iFree;
       
    97 #else
    96     RHeap::SCell iFree;
    98     RHeap::SCell iFree;
       
    99 #endif
    97 	TInt iNestingLevel;
   100 	TInt iNestingLevel;
    98 	TInt iAllocCount;
   101 	TInt iAllocCount;
    99     RAllocator::TAllocFail iFailType;
   102     RAllocator::TAllocFail iFailType;
   100 	TInt iFailRate;
   103 	TInt iFailRate;
   101 	TBool iFailed;
   104 	TBool iFailed;