aboutsummaryrefslogtreecommitdiffstats
path: root/hw/milkymist-vgafb.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-12-08 16:00:54 +0200
committerAvi Kivity <avi@redhat.com>2011-12-20 14:14:07 +0200
commit75c9d6c2f88f5713345b545beec10f0444ebd551 (patch)
tree99cf744b451641e73935a4bc0dbdf19db165ec05 /hw/milkymist-vgafb.c
parente2177955a899483b19bd54e547db3b61db95eaf7 (diff)
framebuffer: drop use of cpu_get_physical_page_desc()
cpu_get_physical_page_desc() is tied into the memory core's innards, replace it with uses of the API. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/milkymist-vgafb.c')
-rw-r--r--hw/milkymist-vgafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/milkymist-vgafb.c b/hw/milkymist-vgafb.c
index 01cd309ca..108115e30 100644
--- a/hw/milkymist-vgafb.c
+++ b/hw/milkymist-vgafb.c
@@ -120,7 +120,7 @@ static void vgafb_update_display(void *opaque)
break;
}
- framebuffer_update_display(s->ds,
+ framebuffer_update_display(s->ds, sysbus_address_space(&s->busdev),
s->regs[R_BASEADDRESS] + s->fb_offset,
s->regs[R_HRES],
s->regs[R_VRES],