mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
hw/timer/i8254: rename pit_init() -> i8254_pit_init()
and remove the old i386/pc dependency Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
40a3bbc93e
commit
acf695eca6
11 changed files with 11 additions and 12 deletions
|
@ -26,6 +26,7 @@
|
|||
#define HW_I8254_H
|
||||
|
||||
#include "hw/hw.h"
|
||||
#include "hw/qdev.h"
|
||||
#include "hw/isa/isa.h"
|
||||
|
||||
#define PIT_FREQ 1193182
|
||||
|
@ -48,8 +49,8 @@ typedef struct PITChannelInfo {
|
|||
#define TYPE_I8254 "isa-pit"
|
||||
#define TYPE_KVM_I8254 "kvm-pit"
|
||||
|
||||
static inline ISADevice *pit_init(ISABus *bus, int base, int isa_irq,
|
||||
qemu_irq alt_irq)
|
||||
static inline ISADevice *i8254_pit_init(ISABus *bus, int base, int isa_irq,
|
||||
qemu_irq alt_irq)
|
||||
{
|
||||
DeviceState *dev;
|
||||
ISADevice *d;
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
#define QEMU_I8254_INTERNAL_H
|
||||
|
||||
#include "hw/hw.h"
|
||||
#include "hw/i386/pc.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "qemu/timer.h"
|
||||
|
||||
typedef struct PITChannelState {
|
||||
int count; /* can be 65536 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue