]> xenbits.xensource.com Git - xen.git/commit
x86, hvm: stdvga cache always on
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 6 May 2008 09:19:10 +0000 (10:19 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 6 May 2008 09:19:10 +0000 (10:19 +0100)
commit551ceee97513fff7ff5cb5899622612e609ccec8
treea3069b8debb80183f566c788c77499afd8dab078
parent89266413bf0df105fedc382af8af2580e4bc3af0
x86, hvm: stdvga cache always on

currently the hypervisor vga cache (stdvga.c) enables itself only in
graphical mode and in the a0000h-affffh range. However there is no
reason for this: it already allocates enought memory to map the whole
vram. I am attaching a patch that implements the bank switching
mechanism in stdvga.c, allowing the cache to be always enabled when
the emulated graphic card is in VGA mode.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/stdvga.c