diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-01-25 10:32:26 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-01-25 10:32:26 +0000 |
commit | 4a4a8f6d9b98acb9b7eace1a9ab59e6634fac45f (patch) | |
tree | a38d24f35e3d7a0009fa8b838a44e9fdf42c17e5 /xen/drivers/video | |
parent | f610be82c2cb10eb686f440c5d3968d7d6b0c5cf (diff) | |
download | xen-4a4a8f6d9b98acb9b7eace1a9ab59e6634fac45f.tar.gz xen-4a4a8f6d9b98acb9b7eace1a9ab59e6634fac45f.tar.bz2 xen-4a4a8f6d9b98acb9b7eace1a9ab59e6634fac45f.zip |
Rename memory_is_conventional_ram() to page_is_conventional_ram().
It now checks that a whole contiguous page is conventional RAM.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/drivers/video')
-rw-r--r-- | xen/drivers/video/vga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/drivers/video/vga.c b/xen/drivers/video/vga.c index f64dc06eca..22db37430e 100644 --- a/xen/drivers/video/vga.c +++ b/xen/drivers/video/vga.c @@ -79,7 +79,7 @@ void __init vga_init(void) switch ( vga_console_info.video_type ) { case XEN_VGATYPE_TEXT_MODE_3: - if ( memory_is_conventional_ram(0xB8000) || + if ( page_is_conventional_ram(paddr_to_pfn(0xB8000)) || ((video = ioremap(0xB8000, 0x8000)) == NULL) ) return; outw(0x200a, 0x3d4); /* disable cursor */ |