Lines Matching +full:versatile +full:- +full:lcd

2  * ARM Versatile Platform/Application Baseboard System emulation.
4 * Copyright (c) 2005-2007 CodeSourcery.
24 #include "qemu/error-report.h"
29 #include "target/arm/cpu-qom.h"
67 flags = s->level & s->mask; in vpb_sic_update()
68 qemu_set_irq(s->parent[s->irq], flags != 0); in vpb_sic_update()
78 if (!(s->pic_enable & mask)) in vpb_sic_update_pic()
80 qemu_set_irq(s->parent[i], (s->level & mask) != 0); in vpb_sic_update_pic()
88 s->level |= 1u << irq; in vpb_sic_set_irq()
90 s->level &= ~(1u << irq); in vpb_sic_set_irq()
91 if (s->pic_enable & (1u << irq)) in vpb_sic_set_irq()
92 qemu_set_irq(s->parent[irq], level); in vpb_sic_set_irq()
103 return s->level & s->mask; in vpb_sic_read()
105 return s->level; in vpb_sic_read()
107 return s->mask; in vpb_sic_read()
109 return s->level & 1; in vpb_sic_read()
111 return s->pic_enable; in vpb_sic_read()
125 s->mask |= value; in vpb_sic_write()
128 s->mask &= ~value; in vpb_sic_write()
132 s->mask |= 1; in vpb_sic_write()
136 s->mask &= ~1u; in vpb_sic_write()
139 s->pic_enable |= (value & 0x7fe00000); in vpb_sic_write()
143 s->pic_enable &= ~value; in vpb_sic_write()
168 sysbus_init_irq(sbd, &s->parent[i]); in vpb_sic_init()
170 s->irq = 31; in vpb_sic_init()
171 memory_region_init_io(&s->iomem, obj, &vpb_sic_ops, s, in vpb_sic_init()
172 "vpb-sic", 0x1000); in vpb_sic_init()
173 sysbus_init_mmio(sbd, &s->iomem); in vpb_sic_init()
199 if (machine->ram_size > 0x10000000) { in versatile_init()
208 cpuobj = object_new(machine->cpu_type); in versatile_init()
224 memory_region_add_subregion(sysmem, 0, machine->ram); in versatile_init()
252 sysbus_mmio_map(busdev, 1, 0x41000000); /* PCI self-config */ in versatile_init()
270 pci_create_simple(pci_bus, -1, "pci-ohci"); in versatile_init()
274 dev = DEVICE(pci_create_simple(pci_bus, -1, "lsi53c895a")); in versatile_init()
276 n--; in versatile_init()
300 /* The versatile/PB actually has a modified Color LCD controller in versatile_init()
303 object_property_set_link(OBJECT(dev), "framebuffer-memory", in versatile_init()
320 qdev_realize_and_unref(card, qdev_get_child_bus(dev, "sd-bus"), in versatile_init()
332 qdev_realize_and_unref(card, qdev_get_child_bus(dev, "sd-bus"), in versatile_init()
346 if (machine->audiodev) { in versatile_init()
347 qdev_prop_set_string(pl041, "audiodev", machine->audiodev); in versatile_init()
353 /* Memory map for Versatile/PB: */ in versatile_init()
362 /* 0x10008000 Character LCD Interface. */ in versatile_init()
391 pflash_cfi01_register(VERSATILE_FLASH_ADDR, "versatile.flash", in versatile_init()
397 versatile_binfo.ram_size = machine->ram_size; in versatile_init()
416 mc->desc = "ARM Versatile/PB (ARM926EJ-S)"; in versatilepb_class_init()
417 mc->init = vpb_init; in versatilepb_class_init()
418 mc->block_default_type = IF_SCSI; in versatilepb_class_init()
419 mc->ignore_memory_transaction_failures = true; in versatilepb_class_init()
420 mc->default_cpu_type = ARM_CPU_TYPE_NAME("arm926"); in versatilepb_class_init()
421 mc->default_ram_id = "versatile.ram"; in versatilepb_class_init()
436 mc->desc = "ARM Versatile/AB (ARM926EJ-S)"; in versatileab_class_init()
437 mc->init = vab_init; in versatileab_class_init()
438 mc->block_default_type = IF_SCSI; in versatileab_class_init()
439 mc->ignore_memory_transaction_failures = true; in versatileab_class_init()
440 mc->default_cpu_type = ARM_CPU_TYPE_NAME("arm926"); in versatileab_class_init()
441 mc->default_ram_id = "versatile.ram"; in versatileab_class_init()
464 dc->vmsd = &vmstate_vpb_sic; in type_init()