kernel/eka/common/mem.cpp
branchRCL_3
changeset 44 3e88ff8f41d5
parent 43 c1f20ce4abcf
equal deleted inserted replaced
43:c1f20ce4abcf 44:3e88ff8f41d5
    23 //NOTE - if these values are changed then the WINS test case value must be updated
    23 //NOTE - if these values are changed then the WINS test case value must be updated
    24 
    24 
    25 #ifndef __MEM_MACHINE_CODED__
    25 #ifndef __MEM_MACHINE_CODED__
    26 
    26 
    27 extern "C" {
    27 extern "C" {
    28 
       
    29 #ifndef __MEMMOVE_MACHINE_CODED__
       
    30 
    28 
    31 // See header file e32cmn.h for the in-source documentation.
    29 // See header file e32cmn.h for the in-source documentation.
    32 EXPORT_C TAny* memcpy(TAny* aTrg, const TAny* aSrc, unsigned int aLength)
    30 EXPORT_C TAny* memcpy(TAny* aTrg, const TAny* aSrc, unsigned int aLength)
    33 	{
    31 	{
    34 	return memmove(aTrg, aSrc, aLength);
    32 	return memmove(aTrg, aSrc, aLength);
    74 			*--pE32=(*--pS32);
    72 			*--pE32=(*--pS32);
    75 		}
    73 		}
    76 	return aTrg;
    74 	return aTrg;
    77 	}
    75 	}
    78 
    76 
    79 #endif // ! __MEMMOVE_MACHINE_CODED__
    77 
    80 
    78 
    81 // See header file e32cmn.h for the in-source documentation.
    79 // See header file e32cmn.h for the in-source documentation.
    82 EXPORT_C TAny* memclr(TAny* aTrg, unsigned int aLength)
    80 EXPORT_C TAny* memclr(TAny* aTrg, unsigned int aLength)
    83 	{
    81 	{
    84 	return memset(aTrg, 0, aLength);
    82 	return memset(aTrg, 0, aLength);