1/*
2 * Copyright (c) 2018, ETH Zurich.
3 * All rights reserved.
4 *
5 * This file is distributed under the terms in the attached LICENSE file.
6 * If you do not find this file, copies can be found by writing to:
7 * ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group.
8 */
9
10#ifndef HPET_DEBUG_H_
11#define HPET_DEBUG_H_
12
13/*****************************************************************
14 * Debug printer and its power-switch:
15 *****************************************************************/
16
17//#define HPET_DEBUG_ON 1
18
19#if defined(HPET_DEBUG_ON) || defined(GLOBAL_DEBUG)
20#define HPET_DEBUG(x...) debug_printf("hpet_driver: " x)
21#else
22#define HPET_DEBUG(x...) ((void)0)
23#endif
24
25#endif // HPET_DEBUG_H_
26