1#ifndef USR_DRIVERS_MLX4_DEBUG_H_
2#define USR_DRIVERS_MLX4_DEBUG_H_
3
4#include <barrelfish/debug.h>
5
6#define MLX4_DEBUG_ENABLED 1
7
8#if MLX4_DEBUG_ENABLED
9#define MLX4_DEBUG(x...) debug_printf(x)
10#define MLX4_WARN(x...) debug_printf(x)
11#define MLX4_ERR(x...) debug_printf(x)
12#else
13#define MLX4_DEBUG(x... )
14#define MLX4_WARN(x... )
15#define MLX4_ERR(x... )
16#endif
17
18#endif /* USR_DRIVERS_MLX4_DEBUG_H_ */
19