Changeset 7fc78da in mainline for libc/arch/ia32/src/syscall.c


Ignore:
Timestamp:
2006-03-13T20:53:02Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a19bdf8
Parents:
b419162
Message:

New IPC synchronous call.
Widened syscall to support up to 5 parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/arch/ia32/src/syscall.c

    rb419162 r7fc78da  
    2929#include <libc.h>
    3030
    31 sysarg_t __syscall(const syscall_t id, const sysarg_t p1, const sysarg_t p2, const sysarg_t p3)
     31sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3,
     32                   const sysarg_t p4, const syscall_t id)
    3233{
    3334        sysarg_t ret;
     
    3637                "int $0x30\n"
    3738                : "=a" (ret)
    38                 : "a" (id),
    39                   "b" (p1),
    40                   "c" (p2),
    41                   "d" (p3)
     39                : "a" (p1),
     40                  "b" (p2),
     41                  "c" (p3),
     42                  "d" (p4),
     43                  "S" (id)
    4244        );
    4345       
Note: See TracChangeset for help on using the changeset viewer.