Changeset 6c441cf8 in mainline for uspace/lib/libc/arch/ppc64/src/syscall.c
- Timestamp:
- 2008-02-27T11:49:17Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 56976a17
- Parents:
- fdb7795
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/arch/ppc64/src/syscall.c
rfdb7795 r6c441cf8 37 37 #include <libc.h> 38 38 39 sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3, const sysarg_t p4, const syscall_t id) 39 sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3, 40 const sysarg_t p4, const sysarg_t p5, const sysarg_t p6, const syscall_t id) 40 41 { 41 42 register sysarg_t __ppc32_reg_r3 asm("3") = p1; … … 43 44 register sysarg_t __ppc32_reg_r5 asm("5") = p3; 44 45 register sysarg_t __ppc32_reg_r6 asm("6") = p4; 45 register sysarg_t __ppc32_reg_r7 asm("7") = id; 46 register sysarg_t __ppc32_reg_r7 asm("7") = p5; 47 register sysarg_t __ppc32_reg_r8 asm("8") = p6; 48 register sysarg_t __ppc32_reg_r9 asm("9") = id; 46 49 47 50 asm volatile ( … … 52 55 "r" (__ppc32_reg_r5), 53 56 "r" (__ppc32_reg_r6), 54 "r" (__ppc32_reg_r7) 57 "r" (__ppc32_reg_r7), 58 "r" (__ppc32_reg_r8), 59 "r" (__ppc32_reg_r9) 55 60 ); 56 61
Note:
See TracChangeset
for help on using the changeset viewer.