summaryrefslogtreecommitdiff
path: root/hw/framebuffer.h
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/framebuffer.h
parente2177955a899483b19bd54e547db3b61db95eaf7 (diff)
downloadqemu-75c9d6c2f88f5713345b545beec10f0444ebd551.tar.gz
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/framebuffer.h')
-rw-r--r--hw/framebuffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/framebuffer.h b/hw/framebuffer.h
index a3a214649d..527a6b85f8 100644
--- a/hw/framebuffer.h
+++ b/hw/framebuffer.h
@@ -1,12 +1,15 @@
#ifndef QEMU_FRAMEBUFFER_H
#define QEMU_FRAMEBUFFER_H
+#include "memory.h"
+
/* Framebuffer device helper routines. */
typedef void (*drawfn)(void *, uint8_t *, const uint8_t *, int, int);
void framebuffer_update_display(
DisplayState *ds,
+ MemoryRegion *address_space,
target_phys_addr_t base,
int cols,
int rows,