coreboot/src/drivers/emulation/qemu
Alper Nebi Yasak c63a198884 drivers/qemu/bochs: Use arch-independent data port
The QEMU Bochs display driver uses 0x1CF as its VBE DISPI data port, but
this is only present on x86. Instead, use the port at 0x1D0 [1] which is
available on both x86 and non-x86 architectures. The data port is also
calculated inline based on the VBE DISPI index port while reading and
writing, update those expressions as well.

[1] https://web.archive.org/web/20240404032816/https://www.qemu.org/docs/master/specs/standard-vga.html#io-ports-used

Change-Id: I899beb742d42c26f3e57023f05ff459094fce5f1
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82061
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-02-14 17:10:10 +00:00
..
bochs.c drivers/qemu/bochs: Use arch-independent data port 2025-02-14 17:10:10 +00:00
cirrus.c drivers/qemu: Clarify config option name for QEMU display resolution 2024-07-11 11:05:43 +00:00
fw_cfg.c mb/qemu-i440fx: refactor fw_cfg logic as separate driver 2025-01-22 20:38:55 +00:00
Kconfig mb/qemu-i440fx: refactor fw_cfg logic as separate driver 2025-01-22 20:38:55 +00:00
Makefile.mk mb/qemu-i440fx: refactor fw_cfg logic as separate driver 2025-01-22 20:38:55 +00:00
qemu_debugcon.c