mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
hw: explicitly include qemu/log.h
Move the inclusion out of hw/hw.h, most files do not need it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
e6623d88f4
commit
03dd024ff5
90 changed files with 92 additions and 2 deletions
|
@ -19,6 +19,7 @@
|
|||
#include "hw/sysbus.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "hw/timer/allwinner-a10-pit.h"
|
||||
#include "qemu/log.h"
|
||||
|
||||
static void a10_pit_update_irq(AwA10PITState *s)
|
||||
{
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "hw/qdev.h"
|
||||
#include "hw/ptimer.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "qemu/log.h"
|
||||
|
||||
/* Common timer implementation. */
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include "hw/sysbus.h"
|
||||
#include "hw/ptimer.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "qemu/log.h"
|
||||
|
||||
#include "hw/timer/digic-timer.h"
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "hw/timer/imx_epit.h"
|
||||
#include "hw/misc/imx_ccm.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "qemu/log.h"
|
||||
|
||||
#ifndef DEBUG_IMX_EPIT
|
||||
#define DEBUG_IMX_EPIT 0
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "hw/timer/imx_gpt.h"
|
||||
#include "hw/misc/imx_ccm.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "qemu/log.h"
|
||||
|
||||
#ifndef DEBUG_IMX_GPT
|
||||
#define DEBUG_IMX_GPT 0
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "qemu/timer.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "qemu/cutils.h"
|
||||
#include "qemu/log.h"
|
||||
|
||||
//#define DEBUG_PL031
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/timer/stm32f2xx_timer.h"
|
||||
#include "qemu/log.h"
|
||||
|
||||
#ifndef STM_TIMER_ERR_DEBUG
|
||||
#define STM_TIMER_ERR_DEBUG 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue