summaryrefslogtreecommitdiff
path: root/core/cleanup.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-23 17:37:18 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-23 17:37:18 -0700
commite1192a81bddbf803feb9445a9408a9feec6159aa (patch)
tree801c24f386e3654c3d8d72b5ce1c69bcc2449948 /core/cleanup.inc
parent89ec5fa741f415296c6d6c83da5bad32710aaa38 (diff)
downloadsyslinux-e1192a81bddbf803feb9445a9408a9feec6159aa.tar.gz
core: add a proper interrupt handler for the serial console
If we enable interrupts for the serial console, add a proper interrupt handler. Since we don't know what vector we'll end up using, or if we are shared with other devices, simply hook *all* the interrupts and poll the serial port then. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/cleanup.inc')
-rw-r--r--core/cleanup.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/cleanup.inc b/core/cleanup.inc
index 1b00e0b0..063ed73e 100644
--- a/core/cleanup.inc
+++ b/core/cleanup.inc
@@ -49,6 +49,7 @@ cleanup_hardware:
int 10h
.no_vmware:
%endif
-
popad
- ret
+
+ ; If we enabled serial port interrupts, clean them up now
+ jmp sirq_cleanup