Rev 2089 | Rev 2101 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2089 | Rev 2100 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2009. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2009. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 2089 $ |
8 | $Revision: 2100 $ |
9 | 9 | ||
Line 42... | Line 42... | ||
42 | xor eax, eax |
42 | xor eax, eax |
43 | popfd |
43 | popfd |
44 | ret |
44 | ret |
45 | endp |
45 | endp |
Line -... | Line 46... | ||
- | 46 | ||
46 | 47 | align 4 |
|
Line 47... | Line 48... | ||
47 | proc get_int_handler stdcall, irq:dword |
48 | proc get_int_handler stdcall, irq:dword |
48 | - | ||
- | 49 | ||
- | 50 | mov eax, [irq] |
|
49 | mov eax, [irq] |
51 | cmp eax, 15 |
50 | 52 | ja .fail |
|
- | 53 | mov eax, [irq_tab + 4 * eax] |
|
- | 54 | ret |
|
- | 55 | .fail: |
|
51 | mov eax, [irq_tab + 4 * eax] |
56 | xor eax, eax |
Line 52... | Line 57... | ||
52 | ret |
57 | ret |
53 | endp |
58 | endp |