[SeaBIOS] [PATCH] mask interrupts on S3 resume
Gleb Natapov
gleb at redhat.com
Tue Jan 24 13:33:42 CET 2012
i8259 clears interrupt mask on reset. Interrupt need to be
masked again before enabling interrupts on CPU. Since option
roms are called with interrupts enabled, resume should mask
interrupts in i8259 before calling vgabios.
Signed-off-by: Gleb Natapov <gleb at redhat.com>
diff --git a/src/resume.c b/src/resume.c
index 4390fb5..8f21938 100644
--- a/src/resume.c
+++ b/src/resume.c
@@ -39,6 +39,7 @@ handle_resume(void)
outb_cmos(0, CMOS_RESET_CODE);
dprintf(1, "In resume (status=%d)\n", status);
+ pic_setup();
init_dma();
switch (status) {
--
Gleb.
More information about the SeaBIOS
mailing list