105 private: |
105 private: |
106 //Framework |
106 //Framework |
107 TInt DoCreate(TInt aUnit,const TDesC* anInfo,const TVersion& aVer); |
107 TInt DoCreate(TInt aUnit,const TDesC* anInfo,const TVersion& aVer); |
108 void HandleMsg(TMessageBase* aMsg); |
108 void HandleMsg(TMessageBase* aMsg); |
109 void DoCancel(TInt aReqNo); |
109 void DoCancel(TInt aReqNo); |
110 TInt DoRequest(TInt aReqNo,TRequestStatus aStatus,TAny* a1,TAny* a2); |
110 TInt DoRequest(TInt aReqNo, TRequestStatus& aStatus, TAny* a1, TAny* a2); |
111 TInt DoControl(TInt aFunction,TAny *a1,TAny *a2); |
111 TInt DoControl(TInt aFunction,TAny *a1,TAny *a2); |
112 //API |
112 //API |
113 TInt GetThreadMem(TAny* aParams, TAny* aBuf); |
113 TInt GetThreadMem(TAny* aParams, TAny* aBuf); |
114 TInt GetAllocatorAddress(TUint aId, TUint8*& aAddr, TBool aGetCurrentAllocator=EFalse); //TOMSCI If false, get the created allocator. If true, get the current one |
114 TInt GetAllocatorAddress(TUint aId, TUint8*& aAddr, TBool aGetCurrentAllocator=EFalse); //TOMSCI If false, get the created allocator. If true, get the current one |
115 TInt GetContainerCount(const TObjectType aObjectType, TUint& aCount); |
115 TInt GetContainerCount(const TObjectType aObjectType, TUint& aCount); |
435 } |
435 } |
436 } |
436 } |
437 |
437 |
438 // DMemoryAccess::DoRequest |
438 // DMemoryAccess::DoRequest |
439 // Handles async messages, called from HandleMsg |
439 // Handles async messages, called from HandleMsg |
440 TInt DMemoryAccess::DoRequest(TInt /*aReqNo*/, TRequestStatus /*aStatus*/, TAny* /*a1*/, TAny* /*a2*/) |
440 TInt DMemoryAccess::DoRequest(TInt /*aReqNo*/, TRequestStatus& /*aStatus*/, TAny* /*a1*/, TAny* /*a2*/) |
441 { |
441 { |
442 return KErrNone; |
442 return KErrNone; |
443 } |
443 } |
444 |
444 |
445 // DMemoryAccess::DoCancel |
445 // DMemoryAccess::DoCancel |