Rev 3615 | Rev 3911 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3615 | Rev 3742 | ||
---|---|---|---|
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: 3615 $ |
14 | $Revision: 3742 $ |
15 | 15 | ||
16 | align 4 ;3A08 |
16 | align 4 ;3A08 |
17 | build_interrupt_table: |
17 | build_interrupt_table: |
Line 576... | Line 576... | ||
576 | .dont_activate: |
576 | .dont_activate: |
Line 577... | Line 577... | ||
577 | 577 | ||
578 | push esi ; remove hd1 & cd & flp reservation |
578 | push esi ; remove hd1 & cd & flp reservation |
579 | shl esi, 5 |
579 | shl esi, 5 |
580 | mov esi, [esi+CURRENT_TASK+TASKDATA.pid] |
- | |
581 | cmp [hd1_status], esi |
- | |
582 | jnz @f |
- | |
583 | call free_hd_channel |
- | |
584 | and [hd1_status], 0 |
- | |
585 | @@: |
580 | mov esi, [esi+CURRENT_TASK+TASKDATA.pid] |
586 | cmp [cd_status], esi |
581 | cmp [cd_status], esi |
587 | jnz @f |
582 | jnz @f |
588 | call free_cd_channel |
583 | call free_cd_channel |
589 | and [cd_status], 0 |
584 | and [cd_status], 0 |