Subversion Repositories Kolibri OS

Rev

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

Rev 358 Rev 363
Line 416... Line 416...
416
           mov [ipc_pdir], eax
416
           mov [ipc_pdir], eax
Line 417... Line 417...
417
 
417
 
418
           add eax, ebx
418
           add eax, ebx
Line 419... Line -...
419
           mov [ipc_ptab], eax
-
 
420
 
-
 
421
           stdcall kernel_alloc, 0x1000
-
 
422
           mov [tmp_task_data], eax
419
           mov [ipc_ptab], eax
Line 423... Line 420...
423
 
420
 
424
           call init_events
421
           call init_events
425
 
422
 
Line 680... Line 677...
680
        mov   [0x3004],dword 1
677
        mov   [0x3004],dword 1
681
        cli
678
        cli
682
        cmp   byte [0x2f0000+0x9030],1
679
        cmp   byte [0x2f0000+0x9030],1
683
        jne   no_load_vrr_m
680
        jne   no_load_vrr_m
Line -... Line 681...
-
 
681
 
-
 
682
        mov ebp, vrr_m
-
 
683
        xor ebx, ebx
684
 
684
        xor edx, edx
685
        stdcall fs_exec, vrr_m, 0, 0
685
        call fs_execute
686
        cmp   eax,2                  ; if vrr_m app found (PID=2)
686
        cmp   eax,2                  ; if vrr_m app found (PID=2)
Line 687... Line 687...
687
        je    first_app_found
687
        je    first_app_found
-
 
688
 
-
 
689
no_load_vrr_m:
-
 
690
        mov ebp, firstapp
688
 
691
        xor ebx, ebx
689
no_load_vrr_m:
692
        xor edx, edx
690
        stdcall fs_exec, firstapp, 0, 0
693
        call fs_execute
691
        cmp   eax,2                  ; continue if a process has been loaded
694
        cmp   eax,2                  ; continue if a process has been loaded
692
        je    first_app_found
695
        je    first_app_found
693
        mov   eax, 0xDEADBEEF        ; otherwise halt
696
        mov   eax, 0xDEADBEEF        ; otherwise halt