vgabios: Handle VGA option rom being re-run.
authorKevin O'Connor <kevin@koconnor.net>
Fri, 3 Feb 2012 03:52:17 +0000 (22:52 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 3 Feb 2012 03:52:17 +0000 (22:52 -0500)
commitcfd7ef9d8b38d9706671a4e88d40dcc4ac922b6a
treebd3a12909491fbbe04a59827b4a24986ef42623e
parentb88869564b2637d05dda14f6cededceebfbb0f66
vgabios: Handle VGA option rom being re-run.

Check for the case where the option rom is executed a second time - in
that case re-init the hardware, but do not set any variables.  This
should make the rom better behaving when run from S3 resume.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
vgasrc/bochsvga.c
vgasrc/clext.c
vgasrc/vgabios.c
vgasrc/vgabios.h