os/kernelhwsrv/bsptemplate/asspandvariant/template_variant/replacement_utils/replacement_utils.h
First public contribution.
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\replacement_utils.h
15 // This header file controls which of the generic utility functions are replaced
16 // by the variant. The replacement implmenetations are supplied in the files
17 // kernel.cia and common.cia in this directory.
18 // The replacement functions are selected by a series of macros as described
20 // Macro: Functions replaced: Location of replacement:
21 // USE_REPLACEMENT_MEMSET memclr common.cia
23 // USE_REPLACEMENT_MEMCPY wordmove common.cia
26 // USE_REPLACEMENT_UMEMGET kumemget32 kernel.cia
30 // USE_REPLACEMENT_UMEMPUT kumemput32 kernel.cia
37 #ifndef __REPLACEMENT_UTILS_H__
39 //#define USE_REPLACEMENT_MEMSET
40 //#define USE_REPLACEMENT_MEMCPY
41 //#define USE_REPLACEMENT_UMEMGET
42 //#define USE_REPLACEMENT_UMEMPUT