stm32f2xx_timer.c (282bc81efbb5e301a3cc010eee0635bf6d0375e5) stm32f2xx_timer.c (03dd024ff57733a55cd2e455f361d053c81b1b29)
1/*
2 * STM32F2XX Timer
3 *
4 * Copyright (c) 2014 Alistair Francis <alistair@alistair23.me>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 10 unchanged lines hidden (view full) ---

19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 * THE SOFTWARE.
23 */
24
25#include "qemu/osdep.h"
26#include "hw/timer/stm32f2xx_timer.h"
1/*
2 * STM32F2XX Timer
3 *
4 * Copyright (c) 2014 Alistair Francis <alistair@alistair23.me>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 10 unchanged lines hidden (view full) ---

19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 * THE SOFTWARE.
23 */
24
25#include "qemu/osdep.h"
26#include "hw/timer/stm32f2xx_timer.h"
27#include "qemu/log.h"
27
28#ifndef STM_TIMER_ERR_DEBUG
29#define STM_TIMER_ERR_DEBUG 0
30#endif
31
32#define DB_PRINT_L(lvl, fmt, args...) do { \
33 if (STM_TIMER_ERR_DEBUG >= lvl) { \
34 qemu_log("%s: " fmt, __func__, ## args); \

--- 295 unchanged lines hidden ---
28
29#ifndef STM_TIMER_ERR_DEBUG
30#define STM_TIMER_ERR_DEBUG 0
31#endif
32
33#define DB_PRINT_L(lvl, fmt, args...) do { \
34 if (STM_TIMER_ERR_DEBUG >= lvl) { \
35 qemu_log("%s: " fmt, __func__, ## args); \

--- 295 unchanged lines hidden ---