/drivers/ddk/io/create.c |
---|
2,10 → 2,11 |
int create_file(const char *path) |
{ |
int retval; |
int count; |
__asm__ __volatile__ ( |
"pushl $0 \n\t" |
"pushl $0 \n\t" |
"movl %0, 1(%%esp) \n\t" |
"movl %2, 1(%%esp) \n\t" |
"pushl $0 \n\t" |
"pushl $0 \n\t" |
"pushl $0 \n\t" |
15,8 → 16,8 |
"movl $70, %%eax \n\t" |
"int $0x40 \n\t" |
"addl $28, %%esp \n\t" |
:"=a" (retval) |
:"=a" (retval), "=b"(count) |
:"r" (path) |
:"ebx"); |
); |
return retval; |
}; |