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 <avi@redhat.com>
This commit is contained in:
Avi Kivity 2011-12-18 16:40:50 +02:00
parent 04097f7c59
commit c65adf9bcd
4 changed files with 15 additions and 0 deletions

View file

@ -44,3 +44,7 @@ int xen_init(void)
{
return -ENOSYS;
}
void xen_register_framebuffer(MemoryRegion *mr)
{
}