Subversion Repositories Kolibri OS

Rev

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

Rev 6527 Rev 6902
Line 19... Line 19...
19
 
19
 
Line 20... Line 20...
20
    img = load_libc();
20
    img = load_libc();
21
 
21
 
-
 
22
    if(!img)
-
 
23
    {
-
 
24
        // Inform the user via BOARD that libc could not be loaded.
-
 
25
        char *errormsg = "[ERROR] libc.dll failed to load. is /kolibrios folder configured?\n";
-
 
26
        while (*errormsg) {
-
 
27
          __asm__ __volatile__("int $0x40"::"a"(63), "b"(1), "c"(*errormsg));
-
 
28
          ++errormsg;
-
 
29
        }
22
    if(!img)
30
 
23
    {
31
        // Exit
Line 24... Line 32...
24
        asm ("int $0x40" ::"a"(-1));
32
        asm ("int $0x40" ::"a"(-1));
25
    };
33
    };