summary refs log tree commit diff stats
path: root/hw/unin_pci.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-10-01 16:12:16 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-01 16:12:16 -0500
commitc227f0995e1722a1abccc28cadf0664266bd8043 (patch)
tree39e92c2f818e3e8144978740b914731613af0e40 /hw/unin_pci.c
parent99a0949b720a0936da2052cb9a46db04ffc6db29 (diff)
downloadfocaccia-qemu-c227f0995e1722a1abccc28cadf0664266bd8043.tar.gz
focaccia-qemu-c227f0995e1722a1abccc28cadf0664266bd8043.zip
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.

The naming convention is goofy and it causes a massive merge problem.  Something
like this _must_ be presented on the list first so people can provide input
and cope with it.

This reverts commit 99a0949b720a0936da2052cb9a46db04ffc6db29.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/unin_pci.c')
-rw-r--r--hw/unin_pci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/unin_pci.c b/hw/unin_pci.c
index 76a5f2e61e..a202153922 100644
--- a/hw/unin_pci.c
+++ b/hw/unin_pci.c
@@ -35,7 +35,7 @@
 #define UNIN_DPRINTF(fmt, ...)
 #endif
 
-typedef a_target_phys_addr a_pci_addr;
+typedef target_phys_addr_t pci_addr_t;
 #include "pci_host.h"
 
 typedef struct UNINState {
@@ -43,7 +43,7 @@ typedef struct UNINState {
     PCIHostState host_state;
 } UNINState;
 
-static void pci_unin_main_config_writel (void *opaque, a_target_phys_addr addr,
+static void pci_unin_main_config_writel (void *opaque, target_phys_addr_t addr,
                                          uint32_t val)
 {
     UNINState *s = opaque;
@@ -57,7 +57,7 @@ static void pci_unin_main_config_writel (void *opaque, a_target_phys_addr addr,
 }
 
 static uint32_t pci_unin_main_config_readl (void *opaque,
-                                            a_target_phys_addr addr)
+                                            target_phys_addr_t addr)
 {
     UNINState *s = opaque;
     uint32_t val;
@@ -95,7 +95,7 @@ static CPUReadMemoryFunc * const pci_unin_main_read[] = {
     &pci_host_data_readl,
 };
 
-static void pci_unin_config_writel (void *opaque, a_target_phys_addr addr,
+static void pci_unin_config_writel (void *opaque, target_phys_addr_t addr,
                                     uint32_t val)
 {
     UNINState *s = opaque;
@@ -104,7 +104,7 @@ static void pci_unin_config_writel (void *opaque, a_target_phys_addr addr,
 }
 
 static uint32_t pci_unin_config_readl (void *opaque,
-                                       a_target_phys_addr addr)
+                                       target_phys_addr_t addr)
 {
     UNINState *s = opaque;