Subversion Repositories Kolibri OS

Rev

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

Rev 519 Rev 520
Line 1... Line 1...
1
$Revision: 519 $
1
$Revision: 520 $
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3
;;                                                              ;;
3
;;                                                              ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
5
;; Distributed under terms of the GNU General Public License    ;;
5
;; Distributed under terms of the GNU General Public License    ;;
6
;;                                                              ;;
6
;;                                                              ;;
Line 542... Line 542...
542
           stdcall map_page,[tmp_task_pdir],dword 0,dword PG_UNMAP
542
           stdcall map_page,[tmp_task_pdir],dword 0,dword PG_UNMAP
543
           dec [pg_data.pg_mutex]
543
           dec [pg_data.pg_mutex]
544
           ret
544
           ret
545
endp
545
endp
Line -... Line 546...
-
 
546
 
-
 
547
align 4
-
 
548
get_pid:
-
 
549
           mov eax, [TASK_DATA]
-
 
550
           mov eax, [eax+4]
-
 
551
           ret
546
 
552
 
547
pid_to_slot:
553
pid_to_slot:
548
;Input:
554
;Input:
549
;  eax - pid of process
555
;  eax - pid of process
550
;Output:
556
;Output: