aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-09-04 17:26:51 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-09-04 17:26:51 -0700
commit03ae23accc283e673c5bce8b89c5c1b6e177bcb2 (patch)
tree6d231ab1d42ac46c5619075e6800ff9d327fe540
parent779a360023f47def89666923653d3ec59483a036 (diff)
downloadlwip-master.tar.gz
lwip-master.tar.xz
lwip-master.zip
core: clean up SerialIRQPort when uninstalling the interrupt systemmaster
Make sure SerialIRQPort is zero when there is no active interrupt system installed. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--core/serirq.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/serirq.inc b/core/serirq.inc
index 6babacec..b7d79e0f 100644
--- a/core/serirq.inc
+++ b/core/serirq.inc
@@ -190,6 +190,9 @@ sirq_cleanup_nowipe:
mov cx,8
rep movsd
+ xor ax,ax
+ mov [SerialIRQPort],ax ; No active interrupt system
+
.done:
pop es
pop ds