Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia32/src/syscall.S

    r3fcea34 r58563585  
    7777        pushl %ebp
    7878        mov %esp, %ebp
     79        lea ra, %edi
    7980        movl 20(%esp), %edx     # First argument.
    8081        movl 24(%esp), %ecx     # Second argument.
     
    8283        movl 32(%esp), %esi     # Fourth argument.
    8384        movl 44(%esp), %eax     # Syscall number.
    84         call 1f
     85        sysenter
     86ra:
    8587        movw %cs, %cx
    8688        addw $8, %cx
     
    9395        popl %ebx
    9496        ret
    95 
    96         /* Trampoline for entering kernel */
    97 1:
    98         pop %edi
    99         sysenter
    10097FUNCTION_END(__syscall_fast)
Note: See TracChangeset for help on using the changeset viewer.