From 1758be7ae732ca1c60e502c95bdfe84d4be1412f Mon Sep 17 00:00:00 2001 From: aaron Date: Wed, 17 May 2017 17:44:02 +0000 Subject: [PATCH] git-svn-id: https://spexeah.com:8443/svn/Asuro@79 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c --- src/drivers/isr33.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/drivers/isr33.pas b/src/drivers/isr33.pas index c18286c8..f05ef8a0 100644 --- a/src/drivers/isr33.pas +++ b/src/drivers/isr33.pas @@ -38,11 +38,12 @@ begin Hooks[i](void(inb($60))); end; end; - outb($20, $20); + outb($20, $20); end; procedure register(); begin + memset(uint32(@Hooks[0]), 0, sizeof(pp_hook_method)*MAX_HOOKS); IDT.set_gate(33, uint32(@Main), $08, ISR_RING_0); end;