aboutsummaryrefslogtreecommitdiff
path: root/hw/vmware_vga.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-10-01 22:20:47 +0400
committermalc <av1474@comtv.ru>2009-10-01 22:45:02 +0400
commit99a0949b720a0936da2052cb9a46db04ffc6db29 (patch)
treef9e39633853e35b49fc4465337cc196b9650866e /hw/vmware_vga.c
parentbc6291a1b95a2c4c546fde6e5cb4c68366f06649 (diff)
Get rid of _t suffix
Some not so obvious bits, slirp and Xen were left alone for the time being. Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/vmware_vga.c')
-rw-r--r--hw/vmware_vga.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index a273f35930..6489e9a8d1 100644
--- a/hw/vmware_vga.c
+++ b/hw/vmware_vga.c
@@ -58,10 +58,10 @@ struct vmsvga_state_s {
#ifndef EMBED_STDVGA
DisplayState *ds;
int vram_size;
- ram_addr_t vram_offset;
+ a_ram_addr vram_offset;
uint8_t *vram_ptr;
#endif
- target_phys_addr_t vram_base;
+ a_target_phys_addr vram_base;
int index;
int scratch_size;
@@ -991,7 +991,7 @@ static void vmsvga_screen_dump(void *opaque, const char *filename)
}
}
-static void vmsvga_text_update(void *opaque, console_ch_t *chardata)
+static void vmsvga_text_update(void *opaque, a_console_ch *chardata)
{
struct vmsvga_state_s *s = (struct vmsvga_state_s *) opaque;
@@ -1000,7 +1000,7 @@ static void vmsvga_text_update(void *opaque, console_ch_t *chardata)
}
#ifdef DIRECT_VRAM
-static uint32_t vmsvga_vram_readb(void *opaque, target_phys_addr_t addr)
+static uint32_t vmsvga_vram_readb(void *opaque, a_target_phys_addr addr)
{
struct vmsvga_state_s *s = (struct vmsvga_state_s *) opaque;
if (addr < s->fb_size)
@@ -1009,7 +1009,7 @@ static uint32_t vmsvga_vram_readb(void *opaque, target_phys_addr_t addr)
return *(uint8_t *) (s->vram_ptr + addr);
}
-static uint32_t vmsvga_vram_readw(void *opaque, target_phys_addr_t addr)
+static uint32_t vmsvga_vram_readw(void *opaque, a_target_phys_addr addr)
{
struct vmsvga_state_s *s = (struct vmsvga_state_s *) opaque;
if (addr < s->fb_size)
@@ -1018,7 +1018,7 @@ static uint32_t vmsvga_vram_readw(void *opaque, target_phys_addr_t addr)
return *(uint16_t *) (s->vram_ptr + addr);
}
-static uint32_t vmsvga_vram_readl(void *opaque, target_phys_addr_t addr)
+static uint32_t vmsvga_vram_readl(void *opaque, a_target_phys_addr addr)
{
struct vmsvga_state_s *s = (struct vmsvga_state_s *) opaque;
if (addr < s->fb_size)
@@ -1027,7 +1027,7 @@ static uint32_t vmsvga_vram_readl(void *opaque, target_phys_addr_t addr)
return *(uint32_t *) (s->vram_ptr + addr);
}
-static void vmsvga_vram_writeb(void *opaque, target_phys_addr_t addr,
+static void vmsvga_vram_writeb(void *opaque, a_target_phys_addr addr,
uint32_t value)
{
struct vmsvga_state_s *s = (struct vmsvga_state_s *) opaque;
@@ -1037,7 +1037,7 @@ static void vmsvga_vram_writeb(void *opaque, target_phys_addr_t addr,
*(uint8_t *) (s->vram_ptr + addr) = value;
}
-static void vmsvga_vram_writew(void *opaque, target_phys_addr_t addr,
+static void vmsvga_vram_writew(void *opaque, a_target_phys_addr addr,
uint32_t value)
{
struct vmsvga_state_s *s = (struct vmsvga_state_s *) opaque;
@@ -1047,7 +1047,7 @@ static void vmsvga_vram_writew(void *opaque, target_phys_addr_t addr,
*(uint16_t *) (s->vram_ptr + addr) = value;
}
-static void vmsvga_vram_writel(void *opaque, target_phys_addr_t addr,
+static void vmsvga_vram_writel(void *opaque, a_target_phys_addr addr,
uint32_t value)
{
struct vmsvga_state_s *s = (struct vmsvga_state_s *) opaque;
@@ -1198,7 +1198,7 @@ static void pci_vmsvga_map_mem(PCIDevice *pci_dev, int region_num,
{
struct pci_vmsvga_state_s *d = (struct pci_vmsvga_state_s *) pci_dev;
struct vmsvga_state_s *s = &d->chip;
- ram_addr_t iomemtype;
+ a_ram_addr iomemtype;
s->vram_base = addr;
#ifdef DIRECT_VRAM