Rev 9743 | Rev 9831 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9743 | Rev 9828 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2022. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2022. 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: 9743 $ |
8 | $Revision: 9828 $ |
9 | 9 | ||
10 | align 4 ;3A08 |
10 | align 4 ;3A08 |
11 | build_interrupt_table: |
11 | build_interrupt_table: |
Line 340... | Line 340... | ||
340 | lock_application_table: |
340 | lock_application_table: |
341 | push eax ecx edx |
341 | push eax ecx edx |
342 | mov ecx, application_table_mutex |
342 | mov ecx, application_table_mutex |
343 | call mutex_lock |
343 | call mutex_lock |
Line 344... | Line 344... | ||
344 | 344 | ||
345 | mov eax, [current_slot_idx] |
- | |
346 | shl eax, BSF sizeof.APPDATA |
345 | mov eax, [current_slot] |
Line 347... | Line 346... | ||
347 | mov eax, [eax + SLOT_BASE + APPDATA.tid] |
346 | mov eax, [eax + APPDATA.tid] |
Line 348... | Line 347... | ||
348 | 347 | ||
Line 387... | Line 386... | ||
387 | inc eax |
386 | inc eax |
388 | jmp .store_result |
387 | jmp .store_result |
389 | @@: |
388 | @@: |
390 | stdcall new_mem_resize, ecx |
389 | stdcall new_mem_resize, ecx |
391 | .store_result: |
390 | .store_result: |
392 | mov [esp+32], eax |
391 | mov [esp + SYSCALL_STACK._eax], eax |
393 | .no_application_mem_resize: |
392 | .no_application_mem_resize: |
394 | ret |
393 | ret |
Line 395... | Line 394... | ||
395 | 394 | ||
396 | iglobal |
395 | iglobal |