diff options
author | Veronia Bahaa <veroniabahaa@gmail.com> | 2016-03-20 19:16:19 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-22 22:20:17 +0100 |
commit | f348b6d1a53e5271cf1c9f9acc4646b4b98c1771 (patch) | |
tree | 2eb2da02e51400b1b1ecae295e32a81c7a889ab1 /hw/timer | |
parent | 73bcb24d932912f8e75e1d88da0fc0ac6d4bce78 (diff) | |
download | qemu-f348b6d1a53e5271cf1c9f9acc4646b4b98c1771.zip qemu-f348b6d1a53e5271cf1c9f9acc4646b4b98c1771.tar.gz qemu-f348b6d1a53e5271cf1c9f9acc4646b4b98c1771.tar.bz2 |
util: move declarations out of qemu-common.h
Move declarations out of qemu-common.h for functions declared in
utils/ files: e.g. include/qemu/path.h for utils/path.c.
Move inline functions out of qemu-common.h and into new files (e.g.
include/qemu/bcd.h)
Signed-off-by: Veronia Bahaa <veroniabahaa@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/timer')
-rw-r--r-- | hw/timer/ds1338.c | 1 | ||||
-rw-r--r-- | hw/timer/exynos4210_rtc.c | 1 | ||||
-rw-r--r-- | hw/timer/m48t59.c | 1 | ||||
-rw-r--r-- | hw/timer/mc146818rtc.c | 2 | ||||
-rw-r--r-- | hw/timer/pl031.c | 1 | ||||
-rw-r--r-- | hw/timer/twl92230.c | 1 |
6 files changed, 7 insertions, 0 deletions
diff --git a/hw/timer/ds1338.c b/hw/timer/ds1338.c index 385b7d3..0112949 100644 --- a/hw/timer/ds1338.c +++ b/hw/timer/ds1338.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qemu-common.h" #include "hw/i2c/i2c.h" +#include "qemu/bcd.h" /* Size of NVRAM including both the user-accessible area and the * secondary register area. diff --git a/hw/timer/exynos4210_rtc.c b/hw/timer/exynos4210_rtc.c index f21fb54..da4dd45 100644 --- a/hw/timer/exynos4210_rtc.c +++ b/hw/timer/exynos4210_rtc.c @@ -29,6 +29,7 @@ #include "hw/sysbus.h" #include "qemu/timer.h" #include "qemu-common.h" +#include "qemu/bcd.h" #include "hw/ptimer.h" #include "hw/hw.h" diff --git a/hw/timer/m48t59.c b/hw/timer/m48t59.c index c4db0e6..e46ca88 100644 --- a/hw/timer/m48t59.c +++ b/hw/timer/m48t59.c @@ -31,6 +31,7 @@ #include "hw/sysbus.h" #include "hw/isa/isa.h" #include "exec/address-spaces.h" +#include "qemu/bcd.h" //#define DEBUG_NVRAM diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c index 496a7cd..2ac0fd3 100644 --- a/hw/timer/mc146818rtc.c +++ b/hw/timer/mc146818rtc.c @@ -23,6 +23,8 @@ */ #include "qemu/osdep.h" #include "config-target.h" +#include "qemu/cutils.h" +#include "qemu/bcd.h" #include "hw/hw.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" diff --git a/hw/timer/pl031.c b/hw/timer/pl031.c index bdec478..38e0cb5 100644 --- a/hw/timer/pl031.c +++ b/hw/timer/pl031.c @@ -15,6 +15,7 @@ #include "hw/sysbus.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" +#include "qemu/cutils.h" //#define DEBUG_PL031 diff --git a/hw/timer/twl92230.c b/hw/timer/twl92230.c index 1c92438..7ba4e9a 100644 --- a/hw/timer/twl92230.c +++ b/hw/timer/twl92230.c @@ -25,6 +25,7 @@ #include "hw/i2c/i2c.h" #include "sysemu/sysemu.h" #include "ui/console.h" +#include "qemu/bcd.h" #define VERBOSE 1 |