2012-12-06 19:15:58 +08:00
|
|
|
#ifndef HW_ESCC_H
|
|
|
|
#define HW_ESCC_H 1
|
|
|
|
|
2009-01-13 01:38:28 +08:00
|
|
|
/* escc.c */
|
2013-07-25 03:30:40 +08:00
|
|
|
#define TYPE_ESCC "escc"
|
2009-01-13 01:38:28 +08:00
|
|
|
#define ESCC_SIZE 4
|
2012-10-23 18:30:10 +08:00
|
|
|
MemoryRegion *escc_init(hwaddr base, qemu_irq irqA, qemu_irq irqB,
|
2009-01-14 22:47:56 +08:00
|
|
|
CharDriverState *chrA, CharDriverState *chrB,
|
|
|
|
int clock, int it_shift);
|
2009-01-13 01:38:28 +08:00
|
|
|
|
2012-10-23 18:30:10 +08:00
|
|
|
void slavio_serial_ms_kbd_init(hwaddr base, qemu_irq irq,
|
2009-01-13 01:38:28 +08:00
|
|
|
int disabled, int clock, int it_shift);
|
2012-12-06 19:15:58 +08:00
|
|
|
|
|
|
|
#endif
|