• J
    [PATCH] VGA to fbcon fix. · f18cd8f7
    James Simmons 提交于
    Currently when going from vgacon to fbcon the VT screenbuffer are often
    different sizes.  In the case when they are different sizes a new VT
    screenbuffer is allocated and the contents are copied into the new buffer.
    
    Currently the amount copied from VGA text memory to the new screenbuf is
    the size of the framebuffer console.  If the framebuffer console new VT
    screen buffer is greater than the VGA text memory size then we get some of
    the VGA BIOS contents as well.
    
    This patch will only allow you to copy up to the size of VGA text memory
    now.  The rest is filled with erase characters.
    
    Initial patch by Jordan Crouse <jordan.crouse@amd.com>
    Signed-off-by: NJames Simmons <jsimmons@www.infradead.org>
    Signed-off-by: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    f18cd8f7
vgacon.c 32.2 KB