kernel/eka/common/mem.cpp
changeset 220 14267bc009a6
parent 0 a41df078684a
child 257 3e88ff8f41d5
equal deleted inserted replaced
202:9aca3be14c27 220:14267bc009a6
    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__
    28 
    30 
    29 // See header file e32cmn.h for the in-source documentation.
    31 // See header file e32cmn.h for the in-source documentation.
    30 EXPORT_C TAny* memcpy(TAny* aTrg, const TAny* aSrc, unsigned int aLength)
    32 EXPORT_C TAny* memcpy(TAny* aTrg, const TAny* aSrc, unsigned int aLength)
    31 	{
    33 	{
    32 	return memmove(aTrg, aSrc, aLength);
    34 	return memmove(aTrg, aSrc, aLength);
    72 			*--pE32=(*--pS32);
    74 			*--pE32=(*--pS32);
    73 		}
    75 		}
    74 	return aTrg;
    76 	return aTrg;
    75 	}
    77 	}
    76 
    78 
    77 
    79 #endif // ! __MEMMOVE_MACHINE_CODED__
    78 
    80 
    79 // See header file e32cmn.h for the in-source documentation.
    81 // See header file e32cmn.h for the in-source documentation.
    80 EXPORT_C TAny* memclr(TAny* aTrg, unsigned int aLength)
    82 EXPORT_C TAny* memclr(TAny* aTrg, unsigned int aLength)
    81 	{
    83 	{
    82 	return memset(aTrg, 0, aLength);
    84 	return memset(aTrg, 0, aLength);