Rev 769 | Rev 787 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 769 | Rev 774 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | ;; Distributed under GPL. See file COPYING for details. ;; |
9 | ;; Distributed under GPL. See file COPYING for details. ;; |
10 | ;; Copyright 2003 Ville Turjanmaa ;; |
10 | ;; Copyright 2003 Ville Turjanmaa ;; |
11 | ;; ;; |
11 | ;; ;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 13... | Line 13... | ||
13 | 13 | ||
Line 14... | Line 14... | ||
14 | $Revision: 769 $ |
14 | $Revision: 774 $ |
15 | 15 | ||
16 | 16 | ||
Line 666... | Line 666... | ||
666 | pusha ; remove all irq reservations |
666 | pusha ; remove all irq reservations |
667 | mov eax,esi |
667 | mov eax,esi |
668 | shl eax, 5 |
668 | shl eax, 5 |
669 | mov eax,[eax+CURRENT_TASK+TASKDATA.pid] |
669 | mov eax,[eax+CURRENT_TASK+TASKDATA.pid] |
670 | mov edi,irq_owner |
670 | mov edi,irq_owner |
- | 671 | xor ebx, ebx |
|
671 | mov ecx,16 |
672 | xor edx, edx |
672 | newirqfree: |
673 | newirqfree: |
673 | scasd |
674 | cmp [edi + 4 * ebx], eax |
674 | jne nofreeirq |
675 | jne nofreeirq |
675 | mov [edi-4],dword 0 |
676 | mov [edi + 4 * ebx], edx ; remove irq reservation |
- | 677 | mov [irq_tab + 4 * ebx], edx ; remove irq handler |
|
- | 678 | mov [irq_rights + 4 * ebx], edx ; set access rights to full access |
|
676 | nofreeirq: |
679 | nofreeirq: |
- | 680 | inc ebx |
|
- | 681 | cmp ebx, 16 |
|
677 | loop newirqfree |
682 | jb newirqfree |
678 | popa |
683 | popa |
Line 679... | Line 684... | ||
679 | 684 | ||
680 | pusha ; remove all port reservations |
685 | pusha ; remove all port reservations |
681 | mov edx,esi |
686 | mov edx,esi |