]>
git.proxmox.com Git - mirror_qemu.git/blob - include/hw/ssi/pl022.h
2 * ARM PrimeCell PL022 Synchronous Serial Port
4 * Copyright (c) 2007 CodeSourcery.
5 * Written by Paul Brook
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 or
9 * (at your option) any later version.
12 /* This is a model of the Arm PrimeCell PL022 synchronous serial port.
14 * http://infocenter.arm.com/help/topic/com.arm.doc.ddi0194h/DDI0194H_ssp_pl022_trm.pdf
17 * + sysbus IRQ: SSPINTR combined interrupt line
18 * + sysbus MMIO region 0: MemoryRegion for the device's registers
21 #ifndef HW_SSI_PL022_H
22 #define HW_SSI_PL022_H
24 #include "hw/sysbus.h"
25 #include "qom/object.h"
27 #define TYPE_PL022 "pl022"
28 typedef struct PL022State PL022State
;
29 DECLARE_INSTANCE_CHECKER(PL022State
, PL022
,
33 SysBusDevice parent_obj
;
43 /* The FIFO head points to the next empty entry. */