Revision c227f099 hw/pxa2xx_lcd.c

b/hw/pxa2xx_lcd.c
51 51
    uint8_t bscntr;
52 52

  
53 53
    struct {
54
        a_target_phys_addr branch;
54
        target_phys_addr_t branch;
55 55
        int up;
56 56
        uint8_t palette[1024];
57 57
        uint8_t pbuffer[1024];
58
        void (*redraw)(PXA2xxLCDState *s, a_target_phys_addr addr,
58
        void (*redraw)(PXA2xxLCDState *s, target_phys_addr_t addr,
59 59
                        int *miny, int *maxy);
60 60

  
61
        a_target_phys_addr descriptor;
62
        a_target_phys_addr source;
61
        target_phys_addr_t descriptor;
62
        target_phys_addr_t source;
63 63
        uint32_t id;
64 64
        uint32_t command;
65 65
    } dma_ch[7];
......
284 284
static void pxa2xx_descriptor_load(PXA2xxLCDState *s)
285 285
{
286 286
    PXAFrameDescriptor desc;
287
    a_target_phys_addr descptr;
287
    target_phys_addr_t descptr;
288 288
    int i;
289 289

  
290 290
    for (i = 0; i < PXA_LCDDMA_CHANS; i ++) {
......
313 313
    }
314 314
}
315 315

  
316
static uint32_t pxa2xx_lcdc_read(void *opaque, a_target_phys_addr offset)
316
static uint32_t pxa2xx_lcdc_read(void *opaque, target_phys_addr_t offset)
317 317
{
318 318
    PXA2xxLCDState *s = (PXA2xxLCDState *) opaque;
319 319
    int ch;
......
407 407
}
408 408

  
409 409
static void pxa2xx_lcdc_write(void *opaque,
410
                a_target_phys_addr offset, uint32_t value)
410
                target_phys_addr_t offset, uint32_t value)
411 411
{
412 412
    PXA2xxLCDState *s = (PXA2xxLCDState *) opaque;
413 413
    int ch;
......
664 664
}
665 665

  
666 666
static void pxa2xx_lcdc_dma0_redraw_horiz(PXA2xxLCDState *s,
667
                a_target_phys_addr addr, int *miny, int *maxy)
667
                target_phys_addr_t addr, int *miny, int *maxy)
668 668
{
669 669
    int src_width, dest_width;
670 670
    drawfn fn = NULL;
......
691 691
}
692 692

  
693 693
static void pxa2xx_lcdc_dma0_redraw_vert(PXA2xxLCDState *s,
694
               a_target_phys_addr addr, int *miny, int *maxy)
694
               target_phys_addr_t addr, int *miny, int *maxy)
695 695
{
696 696
    int src_width, dest_width;
697 697
    drawfn fn = NULL;
......
741 741
static void pxa2xx_update_display(void *opaque)
742 742
{
743 743
    PXA2xxLCDState *s = (PXA2xxLCDState *) opaque;
744
    a_target_phys_addr fbptr;
744
    target_phys_addr_t fbptr;
745 745
    int miny, maxy;
746 746
    int ch;
747 747
    if (!(s->control[0] & LCCR0_ENB))
......
917 917
#define BITS 32
918 918
#include "pxa2xx_template.h"
919 919

  
920
PXA2xxLCDState *pxa2xx_lcdc_init(a_target_phys_addr base, qemu_irq irq)
920
PXA2xxLCDState *pxa2xx_lcdc_init(target_phys_addr_t base, qemu_irq irq)
921 921
{
922 922
    int iomemtype;
923 923
    PXA2xxLCDState *s;

Also available in: Unified diff