Rev 9442 | Rev 9715 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9442 | Rev 9692 | ||
---|---|---|---|
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: 9442 $ |
8 | $Revision: 9692 $ |
9 | 9 | ||
Line 1005... | Line 1005... | ||
1005 | add ebx, [msg_size] |
1005 | add ebx, [msg_size] |
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, [current_slot] |
1011 | mov eax, [eax+TASKDATA.pid] ;eax - our PID |
1011 | mov eax, [eax + APPDATA.tid] ;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] |