Subversion Repositories Kolibri OS

Rev

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

Rev 8052 Rev 8874
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2020. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2020. 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: 8052 $
8
$Revision: 8874 $
9
 
9
 
Line 1006... Line 1006...
1006
        cmp     ebx, [buf_size]
1006
        cmp     ebx, [buf_size]
1007
        ja      .buffer_overflow       ;esi<0 - not enough memory in buffer
1007
        ja      .buffer_overflow       ;esi<0 - not enough memory in buffer
Line 1008... Line 1008...
1008
 
1008
 
1009
        mov     dword [edi+4], ebx
1009
        mov     dword [edi+4], ebx
1010
        mov     eax, [TASK_BASE]
1010
        mov     eax, [TASK_BASE]
1011
        mov     eax, [eax+0x04]        ;eax - our PID
1011
        mov     eax, [eax+TASKDATA.pid]        ;eax - our PID
1012
        add     edi, edx
1012
        add     edi, edx
1013
        mov     [edi], eax
1013
        mov     [edi], eax
Line 1014... Line 1014...
1014
        mov     ecx, [msg_size]
1014
        mov     ecx, [msg_size]