From d6ef0c989b4ca8551e8aab200cc731e256cc0a3d Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Fri, 13 Apr 2012 21:39:02 +0000 Subject: [PATCH] Fix for r.92 (you see the correct revision number - sometimes you have to dig out the mammoth) git-svn-id: svn://kolibrios.org@2611 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/hid/keyboard.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/hid/keyboard.inc b/kernel/trunk/hid/keyboard.inc index 099e69caf5..f1fd2bdbfd 100644 --- a/kernel/trunk/hid/keyboard.inc +++ b/kernel/trunk/hid/keyboard.inc @@ -363,6 +363,7 @@ send_scancode: call set_lights pop ecx .writekey: + pushad ; test for system hotkeys movzx eax, ch cmp bh, 1 @@ -415,9 +416,9 @@ send_scancode: mov [edi+4], ax mov eax, [kb_state] mov [edi+6], ax - jmp .exit.irq1 ;-------------------------------------- .nohotkey: + popad cmp [keyboard_mode], 0; return from keymap jne .scancode