Subversion Repositories Kolibri OS

Rev

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

Rev 8874 Rev 9031
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2021. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2021. 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: 8874 $
8
$Revision: 9031 $
Line 9... Line 9...
9
 
9
 
Line 72... Line 72...
72
        mov     edi, eax
72
        mov     edi, eax
73
        xor     eax, eax
73
        xor     eax, eax
74
        call    getFullPath
74
        call    getFullPath
75
        pop     ecx ebx
75
        pop     ecx ebx
76
        xor     edx, edx
76
        xor     edx, edx
-
 
77
; @brief Executes a program
-
 
78
; @param edx Flags
-
 
79
; @param ecx Commandline
-
 
80
; @param ebx Absolute file path
-
 
81
; @param eax String length
77
proc fs_execute
82
proc fs_execute
78
; edx = flags
-
 
79
; ecx -> cmdline
-
 
80
; ebx -> absolute file path
-
 
81
; eax = string length
-
 
82
    locals
83
    locals
83
        cmdline         rd  1
84
        cmdline         rd  1
84
        flags           rd  1
85
        flags           rd  1
85
        slot            rd  1  ; index of new thread slot
86
        slot            rd  1  ; index of new thread slot
86
        slot_base       rd  1  ; base address of it
87
        slot_base       rd  1  ; base address of it