Subversion Repositories Kolibri OS

Rev

Rev 6591 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1408 serge 1
 
2
{
3
     int retval;
4
     __asm__ __volatile__(
5
     "pushl $0 \n\t"
6
     "pushl $0 \n\t"
7
     "movl %0, 1(%%esp) \n\t"
8
     "pushl $0 \n\t"
9
     "pushl $0 \n\t"
10
     "pushl $0 \n\t"
11
     "pushl %%ebx \n\t"
12
     "push $4 \n\t"
13
     "movl %%esp, %%ebx \n\t"
14
     "movl $70, %%eax \n\t"
15
     "int $0x40 \n\t"
16
     "addl $28, %%esp \n\t"
17
     :"=a" (retval)
18
     :"a" (path), "b" (size));
19
     return retval;
20
};
21