int nx;
int ny;
- target_phys_addr_t addr[3];
+ a_target_phys_addr addr[3];
uint32_t attr;
uint32_t tresh;
omap_dispc_interrupt_update(s);
}
-static uint32_t omap_diss_read(void *opaque, target_phys_addr_t addr)
+static uint32_t omap_diss_read(void *opaque, a_target_phys_addr addr)
{
struct omap_dss_s *s = (struct omap_dss_s *) opaque;
return 0;
}
-static void omap_diss_write(void *opaque, target_phys_addr_t addr,
+static void omap_diss_write(void *opaque, a_target_phys_addr addr,
uint32_t value)
{
struct omap_dss_s *s = (struct omap_dss_s *) opaque;
omap_diss_write,
};
-static uint32_t omap_disc_read(void *opaque, target_phys_addr_t addr)
+static uint32_t omap_disc_read(void *opaque, a_target_phys_addr addr)
{
struct omap_dss_s *s = (struct omap_dss_s *) opaque;
return 0;
}
-static void omap_disc_write(void *opaque, target_phys_addr_t addr,
+static void omap_disc_write(void *opaque, a_target_phys_addr addr,
uint32_t value)
{
struct omap_dss_s *s = (struct omap_dss_s *) opaque;
s->dispc.invalidate = 1;
break;
case 0x080: /* DISPC_GFX_BA0 */
- s->dispc.l[0].addr[0] = (target_phys_addr_t) value;
+ s->dispc.l[0].addr[0] = (a_target_phys_addr) value;
s->dispc.invalidate = 1;
break;
case 0x084: /* DISPC_GFX_BA1 */
- s->dispc.l[0].addr[1] = (target_phys_addr_t) value;
+ s->dispc.l[0].addr[1] = (a_target_phys_addr) value;
s->dispc.invalidate = 1;
break;
case 0x088: /* DISPC_GFX_POSITION */
s->dispc.l[0].wininc = value;
break;
case 0x0b8: /* DISPC_GFX_TABLE_BA */
- s->dispc.l[0].addr[2] = (target_phys_addr_t) value;
+ s->dispc.l[0].addr[2] = (a_target_phys_addr) value;
s->dispc.invalidate = 1;
break;
static void omap_rfbi_transfer_start(struct omap_dss_s *s)
{
void *data;
- target_phys_addr_t len;
- target_phys_addr_t data_addr;
+ a_target_phys_addr len;
+ a_target_phys_addr data_addr;
int pitch;
static void *bounce_buffer;
- static target_phys_addr_t bounce_len;
+ static a_target_phys_addr bounce_len;
if (!s->rfbi.enable || s->rfbi.busy)
return;
omap_dispc_interrupt_update(s);
}
-static uint32_t omap_rfbi_read(void *opaque, target_phys_addr_t addr)
+static uint32_t omap_rfbi_read(void *opaque, a_target_phys_addr addr)
{
struct omap_dss_s *s = (struct omap_dss_s *) opaque;
return 0;
}
-static void omap_rfbi_write(void *opaque, target_phys_addr_t addr,
+static void omap_rfbi_write(void *opaque, a_target_phys_addr addr,
uint32_t value)
{
struct omap_dss_s *s = (struct omap_dss_s *) opaque;
omap_rfbi_write,
};
-static uint32_t omap_venc_read(void *opaque, target_phys_addr_t addr)
+static uint32_t omap_venc_read(void *opaque, a_target_phys_addr addr)
{
switch (addr) {
case 0x00: /* REV_ID */
return 0;
}
-static void omap_venc_write(void *opaque, target_phys_addr_t addr,
+static void omap_venc_write(void *opaque, a_target_phys_addr addr,
uint32_t value)
{
switch (addr) {
omap_venc_write,
};
-static uint32_t omap_im3_read(void *opaque, target_phys_addr_t addr)
+static uint32_t omap_im3_read(void *opaque, a_target_phys_addr addr)
{
switch (addr) {
case 0x0a8: /* SBIMERRLOGA */
return 0;
}
-static void omap_im3_write(void *opaque, target_phys_addr_t addr,
+static void omap_im3_write(void *opaque, a_target_phys_addr addr,
uint32_t value)
{
switch (addr) {
};
struct omap_dss_s *omap_dss_init(struct omap_target_agent_s *ta,
- target_phys_addr_t l3_base,
+ a_target_phys_addr l3_base,
qemu_irq irq, qemu_irq drq,
omap_clk fck1, omap_clk fck2, omap_clk ck54m,
omap_clk ick1, omap_clk ick2)