Fix clobber of the command line when using F-keys+LSS graphics
authorH. Peter Anvin <hpa@zytor.com>
Fri, 15 May 2009 23:24:34 +0000 (16:24 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 15 May 2009 23:26:33 +0000 (16:26 -0700)
commite7ffeff65d02ea5e7ebd03adfc70376bc8789aa5
tree43da5b5b878d72bcfb563af510b41d0479714c44
parent401edbe977d7993e69f683529b480a73ec8e3e56
Fix clobber of the command line when using F-keys+LSS graphics

Fix a half-entered command line when getting clobbered when pressing
an F key that in turn invokes an LSS graphic.  This was used by
duplexing the command line buffer as LSS decompression space.

Allocate a separate buffer, but move the legacy graphic variables to
.bss2 to avoid overflow.

Reported-by: Михаил <from.miha@gmail.com>
Debugged-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/graphics.inc