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 $0 \n\t"
12
     "pushl $2 \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
     :"r" (path)
19
     :"ebx");
20
  return retval;
21
};
22