diff options
Diffstat (limited to 'src/drivers/emulation/qemu/bochs.c')
-rw-r--r-- | src/drivers/emulation/qemu/bochs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/emulation/qemu/bochs.c b/src/drivers/emulation/qemu/bochs.c index 4634021b67..06504309e0 100644 --- a/src/drivers/emulation/qemu/bochs.c +++ b/src/drivers/emulation/qemu/bochs.c @@ -67,7 +67,7 @@ static void bochs_vga_write(struct resource *res, int index, uint8_t val) if (res->flags & IORESOURCE_IO) outb(val, index + 0x3c0); else - write8(res2mmio(res, (0x400 - 0x3c0) + index, 0), val); + write8(res2mmio(res, 0x400 + index, 0), val); } static struct resource res_legacy = { |