Revision dc828ca1 hw/tcx.c

b/hw/tcx.c
497 497
    tcx_dummy_writel,
498 498
};
499 499

  
500
void tcx_init(target_phys_addr_t addr, uint8_t *vram_base,
501
              unsigned long vram_offset, int vram_size, int width, int height,
500
void tcx_init(target_phys_addr_t addr, int vram_size, int width, int height,
502 501
              int depth)
503 502
{
504 503
    TCXState *s;
505 504
    int io_memory, dummy_memory;
505
    ram_addr_t vram_offset;
506 506
    int size;
507
    uint8_t *vram_base;
508

  
509
    vram_offset = qemu_ram_alloc(vram_size);
510
    vram_base = qemu_get_ram_ptr(vram_offset);
507 511

  
508 512
    s = qemu_mallocz(sizeof(TCXState));
509 513
    s->addr = addr;

Also available in: Unified diff