Subversion Repositories Kolibri OS

Rev

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

Rev 4874 Rev 6777
Line 22... Line 22...
22
    :"r" (path), "b" (info));
22
    :"r" (path), "b" (info));
23
   return retval;
23
   return retval;
24
};
24
};
25
25
 
Line -... Line 26...
-
 
26
 
-
 
27
int set_fileinfo(const char *path, fileinfo_t *info)
-
 
28
{
-
 
29
    int retval;
-
 
30
 
-
 
31
    __asm__ __volatile__ (
-
 
32
    "pushl $0 \n\t"
-
 
33
    "pushl $0 \n\t"
-
 
34
    "movl %1, 1(%%esp) \n\t"
-
 
35
    "pushl %%ebx \n\t"
-
 
36
    "pushl $0 \n\t"
-
 
37
    "pushl $0 \n\t"
-
 
38
    "pushl $0 \n\t"
-
 
39
    "pushl $6 \n\t"
-
 
40
    "movl %%esp, %%ebx \n\t"
-
 
41
    "movl $70, %%eax \n\t"
-
 
42
    "int $0x40 \n\t"
-
 
43
    "addl $28, %%esp \n\t"
-
 
44
    :"=a" (retval)
-
 
45
    :"r" (path), "b" (info));
-
 
46
   return retval;
-
 
47
};