2 * ============================================================================
6 * IXP400 SW Release version 2.0
8 * -- Copyright Notice --
11 * Copyright 2001-2005, Intel Corporation.
12 * All rights reserved.
15 * SPDX-License-Identifier: BSD-3-Clause
17 * -- End of Copyright Notice --
19 * Intel(r) IXP425 Software Release
25 * This file declares all the global preprocessor symbols required by
26 * the IXA SDK Framework API.
32 * 4/23/2002 10:41:13 AM - creation time
33 * ============================================================================
36 #if !defined(__IX_SYMBOLS_H__)
37 #define __IX_SYMBOLS_H__
40 #if defined(__cplusplus)
43 #endif /* end defined(__cplusplus) */
46 * The IX_EXPORT_FUNCTION symbol will be used for compilation on different platforms.
47 * We are planning to provide a simulation version of the library that should work
48 * with the Transactor rather than the hardware. This implementation will be done on
49 * WIN32 in the form of a DLL that will need to export functions and symbols.
51 #if (_IX_OS_TYPE_ == _IX_OS_WIN32_)
52 # if defined(_IX_LIB_INTERFACE_IMPLEMENTATION_)
53 # define IX_EXPORT_FUNCTION __declspec( dllexport )
54 # elif defined(_IX_LIB_INTERFACE_IMPORT_DLL_)
55 # define IX_EXPORT_FUNCTION __declspec( dllimport )
57 # define IX_EXPORT_FUNCTION extern
59 #elif (_IX_OS_TYPE_ == _IX_OS_WINCE_)
60 # define IX_EXPORT_FUNCTION __declspec(dllexport)
62 # define IX_EXPORT_FUNCTION extern
67 * This symbols should be defined when we want to build for a multithreaded environment
69 #define _IX_MULTI_THREADED_ 1
73 * This symbol should be defined in the case we to buils for a multithreaded environment
74 * but we want that our modules to work as if they are used in a single threaded environment.
76 /* #define _IX_RM_EXPLICIT_SINGLE_THREADED_ 1 */
78 #if defined(__cplusplus)
80 #endif /* end defined(__cplusplus) */
82 #endif /* end !defined(__IX_SYMBOLS_H__) */