Subversion Repositories Kolibri OS

Rev

Rev 797 | Rev 819 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 797 Rev 802
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2008. 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: 797 $
8
$Revision: 802 $
9
 
9
 
Line 35... Line 35...
35
      @@:
35
@@:
36
	 mov  [irq_tab+ebx*4], eax
36
	 mov  [irq_tab+ebx*4], eax
Line 37... Line 37...
37
 
37
 
38
	 mov  eax, [access_rights]
38
	 mov  eax, [access_rights]
39
	 mov  [irq_rights + 4 * ebx], eax
-
 
40
	 ;push eax
-
 
41
	 ;mov  eax, [TASK_BASE]
-
 
42
	 ;mov  eax, [eax + TASKDATA.pid]          ; faster or smaller? :)
-
 
Line 43... Line 39...
43
         ;call  get_pid
39
	 mov  [irq_rights + 4 * ebx], eax
44
 
-
 
Line 45... Line 40...
45
         mov  [irq_owner + 4 * ebx], PID_KERNEL   ;eax
40
 
-
 
41
         mov  [irq_owner + 4 * ebx], PID_KERNEL  ; all handlers belong to a kernel
46
	 ;pop  eax
42
 
47
 
43
	 stdcall enable_irq, [irq]
48
	 stdcall enable_irq, [irq]
44
         mov eax, 1
49
	 ret
45
	 ret
50
.err:
46
.err: