os/kernelhwsrv/bsptemplate/asspandvariant/template_variant/replacement_utils/common.cia
Update contrib.
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // template\template_variant\replacement_utils\common.cia
18 #include <replacement_utils.h>
23 #if defined(__MEM_MACHINE_CODED__)
25 #ifdef USE_REPLACEMENT_MEMSET
27 extern "C" EXPORT_C __NAKED__ TAny* memclr(TAny* /*aTrg*/, unsigned int /*aLength*/)
30 // TO DO (optional): Implement replacement memclr
33 extern "C" EXPORT_C __NAKED__ TAny* memset(TAny* /*aTrg*/, TInt /*aValue*/, unsigned int /*aLength*/)
36 // TO DO (optional): Implement replacement memset
39 #endif // USE_REPLACEMENT_MEMSET
41 #ifdef USE_REPLACEMENT_MEMCPY
43 extern "C" EXPORT_C __NAKED__ TAny* wordmove(TAny* /*aTrg*/, const TAny* /*aSrc*/, unsigned int /*aLength*/)
45 // TO DO (optional): Implement replacement wordmove
48 extern "C" EXPORT_C __NAKED__ TAny* memmove(TAny* /*aTrg*/, const TAny* /*aSrc*/, unsigned int /*aLength*/)
51 // TO DO (optional): Implement replacement memmove
54 extern "C" EXPORT_C __NAKED__ TAny* memcpy(TAny* /*aTrg*/, const TAny* /*aSrc*/, unsigned int /*aLength*/)
57 // TO DO (optional): Implement replacement memcpy
60 #endif // USE_REPLACEMENT_MEMCPY
62 #endif // __MEM_MACHINE_CODED__