vga-isa.c (760df0d121a836dcbf3726b80b820115aef21b30) vga-isa.c (8e5c952b370b57beb642826882c80e1b66a9cf12)
1/*
2 * QEMU ISA VGA Emulator.
3 *
4 * see docs/specs/standard-vga.txt for virtual hardware specs.
5 *
6 * Copyright (c) 2003 Fabrice Bellard
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy

--- 60 unchanged lines hidden (view full) ---

69 if (vbe_ports) {
70 isa_register_portio_list(isadev, &d->portio_vbe,
71 0x1ce, vbe_ports, s, "vbe");
72 }
73 memory_region_add_subregion_overlap(isa_address_space(isadev),
74 0x000a0000,
75 vga_io_memory, 1);
76 memory_region_set_coalescing(vga_io_memory);
1/*
2 * QEMU ISA VGA Emulator.
3 *
4 * see docs/specs/standard-vga.txt for virtual hardware specs.
5 *
6 * Copyright (c) 2003 Fabrice Bellard
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy

--- 60 unchanged lines hidden (view full) ---

69 if (vbe_ports) {
70 isa_register_portio_list(isadev, &d->portio_vbe,
71 0x1ce, vbe_ports, s, "vbe");
72 }
73 memory_region_add_subregion_overlap(isa_address_space(isadev),
74 0x000a0000,
75 vga_io_memory, 1);
76 memory_region_set_coalescing(vga_io_memory);
77 s->con = graphic_console_init(DEVICE(dev), 0, s->hw_ops, s);
77 s->con = graphic_console_init(dev, 0, s->hw_ops, s);
78
79 memory_region_add_subregion(isa_address_space(isadev),
80 VBE_DISPI_LFB_PHYSICAL_ADDRESS,
81 &s->vram);
82 /* ROM BIOS */
83 rom_add_vga(VGABIOS_FILENAME);
84}
85

--- 29 unchanged lines hidden ---
78
79 memory_region_add_subregion(isa_address_space(isadev),
80 VBE_DISPI_LFB_PHYSICAL_ADDRESS,
81 &s->vram);
82 /* ROM BIOS */
83 rom_add_vga(VGABIOS_FILENAME);
84}
85

--- 29 unchanged lines hidden ---