From c65adf9bcdc9c3212d62696f1b52c8ce0f98dd7f Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Sun, 18 Dec 2011 16:40:50 +0200 Subject: xen, vga: add API for registering the framebuffer Xen currently uses the name of a memory region to determine whether it is the framebuffer. Replace with an explicit API. Signed-off-by: Avi Kivity --- hw/xen.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hw/xen.h') diff --git a/hw/xen.h b/hw/xen.h index f9f66e83ef..b46879c6f7 100644 --- a/hw/xen.h +++ b/hw/xen.h @@ -49,6 +49,9 @@ void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size, struct MemoryRegion *mr); #endif +struct MemoryRegion; +void xen_register_framebuffer(struct MemoryRegion *mr); + #if defined(CONFIG_XEN) && CONFIG_XEN_CTRL_INTERFACE_VERSION < 400 # define HVM_MAX_VCPUS 32 #endif -- cgit v1.2.3-55-g7522