diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2012-02-02 22:52:17 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2012-02-02 22:52:17 -0500 |
commit | cfd7ef9d8b38d9706671a4e88d40dcc4ac922b6a (patch) | |
tree | bd3a12909491fbbe04a59827b4a24986ef42623e /vgasrc/vgabios.h | |
parent | b88869564b2637d05dda14f6cededceebfbb0f66 (diff) | |
download | seabios-cfd7ef9d8b38d9706671a4e88d40dcc4ac922b6a.tar.gz |
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>
Diffstat (limited to 'vgasrc/vgabios.h')
-rw-r--r-- | vgasrc/vgabios.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vgasrc/vgabios.h b/vgasrc/vgabios.h index b47c6691..0aff6849 100644 --- a/vgasrc/vgabios.h +++ b/vgasrc/vgabios.h @@ -75,6 +75,7 @@ extern u8 vgafont16alt[]; // vgabios.c extern int VgaBDF; +extern int HaveRunInit; #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) struct carattr { u8 car, attr, use_attr; |