4 * @author Intel Corporation
7 * @brief This file contains the internal functions for config
11 * IXP400 SW Release version 2.0
13 * -- Copyright Notice --
16 * Copyright 2001-2005, Intel Corporation.
17 * All rights reserved.
20 * SPDX-License-Identifier: BSD-3-Clause
22 * -- End of Copyright Notice --
29 * User defined header files
37 #define IX_QMGR_LOG0(string) do\
39 ixOsalLog(IX_OSAL_LOG_LVL_USER, IX_OSAL_LOG_DEV_STDOUT, string, 0, 0, 0, 0, 0, 0);\
42 #define IX_QMGR_LOG1(string, arg1) do\
44 ixOsalLog(IX_OSAL_LOG_LVL_USER, IX_OSAL_LOG_DEV_STDOUT, string, (int)arg1, 0, 0, 0, 0, 0);\
47 #define IX_QMGR_LOG2(string, arg1, arg2) do\
49 ixOsalLog(IX_OSAL_LOG_LVL_USER, IX_OSAL_LOG_DEV_STDOUT, string, (int)arg1, (int)arg2, 0, 0, 0, 0);\
52 #define IX_QMGR_LOG3(string, arg1, arg2, arg3) do\
54 ixOsalLog(IX_OSAL_LOG_LVL_USER, IX_OSAL_LOG_DEV_STDOUT, string, (int)arg1, (int)arg2, (int)arg3, 0, 0, 0);\
57 #define IX_QMGR_LOG6(string, arg1, arg2, arg3, arg4, arg5, arg6) do\
59 ixOsalLog(IX_OSAL_LOG_LVL_USER, IX_OSAL_LOG_DEV_STDOUT, string, (int)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5, (int)arg6); \
62 #define IX_QMGR_LOG_WARNING0(string) do\
64 ixOsalLog(IX_OSAL_LOG_LVL_WARNING, IX_OSAL_LOG_DEV_STDOUT, string, 0, 0, 0, 0, 0, 0);\
67 #define IX_QMGR_LOG_WARNING1(string, arg1) do\
69 ixOsalLog(IX_OSAL_LOG_LVL_WARNING, IX_OSAL_LOG_DEV_STDOUT, string, (int)arg1, 0, 0, 0, 0, 0);\
72 #define IX_QMGR_LOG_WARNING2(string, arg1, arg2) do\
74 ixOsalLog(IX_OSAL_LOG_LVL_WARNING, IX_OSAL_LOG_DEV_STDOUT, string, (int)arg1, (int)arg2, 0, 0, 0, 0);\
77 #define IX_QMGR_LOG_ERROR0(string) do\
79 ixOsalLog(IX_OSAL_LOG_LVL_ERROR, IX_OSAL_LOG_DEV_STDERR, string, 0, 0, 0, 0, 0, 0);\
82 #define IX_QMGR_LOG_ERROR1(string, arg1) do\
84 ixOsalLog(IX_OSAL_LOG_LVL_ERROR, IX_OSAL_LOG_DEV_STDERR, string, (int)arg1, 0, 0, 0, 0, 0);\
87 #define IX_QMGR_LOG_ERROR2(string, arg1, arg2) do\
89 ixOsalLog(IX_OSAL_LOG_LVL_ERROR, IX_OSAL_LOG_DEV_STDERR, string, (int)arg1, (int)arg2, 0, 0, 0, 0);\
92 #define IX_QMGR_LOG_ERROR3(string, arg1, arg2, arg3) do\
94 ixOsalLog(IX_OSAL_LOG_LVL_ERROR, IX_OSAL_LOG_DEV_STDERR, string, (int)arg1, (int)arg2, (int)arg3, 0, 0, 0);\
96 #endif /* IX_QMGRLOG_P_H */