[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/5] milkymist-vgafb: add missing register
From: |
Michael Walle |
Subject: |
[Qemu-devel] [PATCH 5/5] milkymist-vgafb: add missing register |
Date: |
Sun, 1 Apr 2012 20:37:36 +0200 |
This bug existed since the first commit. Fortunately, the affected
registers have no functionality in qemu. This will only prevent the
following warning:
milkymist_vgafb: write access to unknown register 0x00000034
Signed-off-by: Michael Walle <address@hidden>
---
hw/milkymist-vgafb.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/hw/milkymist-vgafb.c b/hw/milkymist-vgafb.c
index 69afd72..cd4365d 100644
--- a/hw/milkymist-vgafb.c
+++ b/hw/milkymist-vgafb.c
@@ -2,7 +2,7 @@
/*
* QEMU model of the Milkymist VGA framebuffer.
*
- * Copyright (c) 2010 Michael Walle <address@hidden>
+ * Copyright (c) 2010-2012 Michael Walle <address@hidden>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -54,6 +54,7 @@ enum {
R_BASEADDRESS,
R_BASEADDRESS_ACT,
R_BURST_COUNT,
+ R_DDC,
R_SOURCE_CLOCK,
R_MAX
};
@@ -173,6 +174,7 @@ static uint64_t vgafb_read(void *opaque, target_phys_addr_t
addr,
case R_VSCAN:
case R_BASEADDRESS:
case R_BURST_COUNT:
+ case R_DDC:
case R_SOURCE_CLOCK:
r = s->regs[addr];
break;
@@ -211,6 +213,7 @@ static void vgafb_write(void *opaque, target_phys_addr_t
addr, uint64_t value,
case R_VSYNC_END:
case R_VSCAN:
case R_BURST_COUNT:
+ case R_DDC:
case R_SOURCE_CLOCK:
s->regs[addr] = value;
break;
--
1.7.2.5
- [Qemu-devel] [PULL v2 0/5] lm32 fixes and additions, Michael Walle, 2012/04/01
- [Qemu-devel] [PATCH 5/5] milkymist-vgafb: add missing register,
Michael Walle <=
- [Qemu-devel] [PATCH 3/5] milkymist-sysctl: support for new core version, Michael Walle, 2012/04/01
- [Qemu-devel] [PATCH 1/5] tests: fix out-of-tree building for lm32 target, Michael Walle, 2012/04/01
- [Qemu-devel] [PATCH 4/5] target-lm32: add simple disassembler, Michael Walle, 2012/04/01
- [Qemu-devel] [PATCH 2/5] target-lm32: init tcg only if available, Michael Walle, 2012/04/01
- Re: [Qemu-devel] [PULL v2 0/5] lm32 fixes and additions, Blue Swirl, 2012/04/01