aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCao jin <caoj.fnst@cn.fujitsu.com>2016-03-07 20:38:58 +0800
committerMichael S. Tsirkin <mst@redhat.com>2016-03-11 16:45:21 +0200
commit7335a95abd400127b46f3b641e6cd15dd11703fd (patch)
treeaddba21d2b3422d93064dd9114c9d1cf2ef75ecb /include
parent226419d6153048cdba2fe722636220b01a1f9e96 (diff)
downloadqemu-7335a95abd400127b46f3b641e6cd15dd11703fd.zip
qemu-7335a95abd400127b46f3b641e6cd15dd11703fd.tar.gz
qemu-7335a95abd400127b46f3b641e6cd15dd11703fd.tar.bz2
ich9lpc: fix typo
change some "rbca" to "rcrb"(root complex register block) while the other to "rcba"(root complex base address). Bonus: add more comments and fix some indentation. Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/i386/ich9.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/i386/ich9.h b/include/hw/i386/ich9.h
index b411434..d04dcdc 100644
--- a/include/hw/i386/ich9.h
+++ b/include/hw/i386/ich9.h
@@ -23,7 +23,7 @@ I2CBus *ich9_smb_init(PCIBus *bus, int devfn, uint32_t smb_io_base);
void ich9_generate_smi(void);
void ich9_generate_nmi(void);
-#define ICH9_CC_SIZE (16 * 1024) /* 16KB */
+#define ICH9_CC_SIZE (16 * 1024) /* 16KB. Chipset configuration registers */
#define TYPE_ICH9_LPC_DEVICE "ICH9-LPC"
#define ICH9_LPC_DEVICE(obj) \
@@ -65,7 +65,7 @@ typedef struct ICH9LPCState {
/* isa bus */
ISABus *isa_bus;
- MemoryRegion rbca_mem;
+ MemoryRegion rcrb_mem; /* root complex register block */
Notifier machine_ready;
qemu_irq *pic;