Rev 3534 | Rev 4612 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3534 | Rev 3598 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 3534 $ |
8 | $Revision: 3598 $ |
9 | 9 | ||
10 | 10 | ||
Line 137... | Line 137... | ||
137 | keyboard_list_mutex MUTEX |
137 | keyboard_list_mutex MUTEX |
138 | endg |
138 | endg |
Line 139... | Line 139... | ||
139 | 139 | ||
140 | register_keyboard: |
140 | register_keyboard: |
141 | push ebx |
141 | push ebx |
142 | push sizeof.KEYBOARD |
- | |
143 | pop eax |
142 | movi eax, sizeof.KEYBOARD |
144 | call malloc |
143 | call malloc |
145 | test eax, eax |
144 | test eax, eax |
146 | jz .nothing |
145 | jz .nothing |
147 | mov ecx, [esp+4+4] |
146 | mov ecx, [esp+4+4] |