Subversion Repositories Kolibri OS

Rev

Rev 1066 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1066 Rev 2971
Line 233... Line 233...
233
                          exec_stack_t *ex_stack) asm ("pe_app_param");
233
                          exec_stack_t *ex_stack) asm ("pe_app_param");
234
 
234
 
Line 235... Line 235...
235
int sys_exec(char *path, char *cmdline, u32_t flags)
235
int sys_exec(char *path, char *cmdline, u32_t flags)
236
{
236
{
-
 
237
 
237
    PIMAGE_DOS_HEADER     dos;
238
    PIMAGE_DOS_HEADER     dos;
238
    PIMAGE_NT_HEADERS32   nt;
239
    PIMAGE_NT_HEADERS32   nt;
Line 239... Line 240...
239
 
240
 
240
    size_t   img_size;
241
    size_t   img_size;
241
    count_t  img_pages;
242
    count_t  img_pages;
-
 
243
    count_t  img_tabs;
242
    count_t  img_tabs;
244
 
243
    addr_t        ex_pg_dir;
245
    addr_t        ex_pg_dir;
244
    addr_t        ex_stack_page;
246
    addr_t        ex_stack_page;
Line 245... Line 247...
245
    addr_t        ex_pl0_stack;
247
    addr_t        ex_pl0_stack;
Line 586... Line 588...
586
 
588
 
Line 587... Line 589...
587
            exp_dll = find_dll(&core_dll.link, libname);
589
            exp_dll = find_dll(&core_dll.link, libname);
588
            if(exp_dll == NULL)
590
            if(exp_dll == NULL)
589
            {
591
            {
-
 
592
 
590
            exp_dll = find_dll(¤t_slot->dll_list, libname);
593
            exp_dll = find_dll(¤t_slot->dll_list, libname);
591
                if(exp_dll == NULL)
594
                if(exp_dll == NULL)
592
            {
595
            {
593
                int len = strlen(libname)+1;
596
                int len = strlen(libname)+1;