kernel/eka/euser/epoc/symc/uc_exec.cpp
branchanywhere
changeset 93 7c26c0978cbf
parent 92 14c2cc33e762
child 94 f36eb4948686
equal deleted inserted replaced
92:14c2cc33e762 93:7c26c0978cbf
    14 // e32\euser\epoc\win32\uc_exec.cpp
    14 // e32\euser\epoc\win32\uc_exec.cpp
    15 // 
    15 // 
    16 //
    16 //
    17 
    17 
    18 
    18 
    19 #define __GEN_USER_EXEC_CODE__
    19 //#define __GEN_USER_EXEC_CODE__
    20 
    20 
    21 #include "../win32/uc_std.h"
    21 #include "../win32/uc_std.h"
    22 #include <e32svr.h>
    22 #include <e32svr.h>
    23 #include <emulator.h>
    23 #include <emulator.h>
    24 
    24 
   327 
   327 
   328 
   328 
   329 //
   329 //
   330 #ifndef __GEN_USER_EXEC_CODE__
   330 #ifndef __GEN_USER_EXEC_CODE__
   331 
   331 
       
   332 class CProcess : public CBase
       
   333 	{
       
   334 
       
   335 	};
       
   336 
       
   337 
   332 
   338 
   333 //RHeap gAllocator;
   339 //RHeap gAllocator;
   334 
   340 
   335 __EXECDECL__ void Exec::WaitForAnyRequest()
   341 __EXECDECL__ void Exec::WaitForAnyRequest()
   336 	{
   342 	{
  1246 __EXECDECL__ TInt E32Loader::LibraryAttached(TInt)
  1252 __EXECDECL__ TInt E32Loader::LibraryAttached(TInt)
  1247 	{
  1253 	{
  1248 	SLOW_EXEC1(EExecLibraryAttached);
  1254 	SLOW_EXEC1(EExecLibraryAttached);
  1249 	}
  1255 	}
  1250 
  1256 
  1251 __EXECDECL__ TInt E32Loader::StaticCallList(TInt&, TLinAddr*)
  1257 __EXECDECL__ TInt E32Loader::StaticCallList(TInt& aEntryPointCount, TLinAddr* /*aUnused*/)
  1252 	{
  1258 	{
  1253 	SLOW_EXEC2(EExecStaticCallList);
  1259 	SLOW_EXEC2(EExecStaticCallList);
       
  1260 	//SL: We hijack this function for initializing our process see User::InitProcess
       
  1261 	//aEntryPointCount=0; //Tell the caller we don't have any DLL entry point
       
  1262 	//__asm ret;
       
  1263 	
       
  1264 	//return KErrNone;
  1254 	}
  1265 	}
  1255 
  1266 
  1256 __EXECDECL__ TInt E32Loader::LibraryDetach(TInt&, TLinAddr*)
  1267 __EXECDECL__ TInt E32Loader::LibraryDetach(TInt&, TLinAddr*)
  1257 	{
  1268 	{
  1258 	SLOW_EXEC2(EExecLibraryDetach);
  1269 	SLOW_EXEC2(EExecLibraryDetach);