Ignore:
Timestamp:
2007-11-17T19:52:57Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e0bc7fc
Parents:
7e956eb
Message:

Support for six syscall arguments for ia32.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/arch/ia32/src/fibril.S

    r7e956eb r6c383b0  
    7575
    7676        # Set thread local storage
    77         pushl %edi
    78         movl 24(%eax), %eax   # Set arg1 to TLS addr
    79         movl $1, %edi         # Syscall 1
     77        pushl %edx
     78        movl 24(%eax), %edx   # Set arg1 to TLS addr
     79        movl $1, %eax         # Syscall SYS_TLS_SET
    8080        int $0x30
    81         popl %edi
     81        popl %edx
    8282       
    8383        xorl %eax,%eax          # context_restore returns 0
Note: See TracChangeset for help on using the changeset viewer.