Changeset 002e613 in mainline
- Timestamp:
- 2006-09-01T21:01:02Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cfa70add
- Parents:
- 9314ee1
- Files:
-
- 8 added
- 7 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/trap/syscall.h
r9314ee1 r002e613 50 50 ba trap_instruction_handler 51 51 or %g1, %lo(syscall), %g1 52 53 52 .endm 54 53 -
kernel/arch/sparc64/src/trap/trap_table.S
r9314ee1 r002e613 514 514 * Input registers: 515 515 * %g1 Address of function to call. 516 * %g2 Argument for the function.516 * %g2 First argument for the function. 517 517 * %g6 Pre-set as kernel stack base if trap from userspace. 518 518 * %g7 Pre-set as address of the userspace window buffer. -
kernel/generic/include/syscall/syscall.h
r9314ee1 r002e613 33 33 */ 34 34 35 #ifndef __SYSCALL_H__36 #define __SYSCALL_H__35 #ifndef KERN_SYSCALL_H_ 36 #define KERN_SYSCALL_H_ 37 37 38 38 typedef enum { … … 81 81 extern unative_t sys_tls_set(unative_t addr); 82 82 83 84 83 #endif 85 84 -
uspace/libc/arch/amd64/include/syscall.h
r9314ee1 r002e613 1 1 /* 2 * Copyright (C) 200 6Martin Decky2 * Copyright (C) 2005 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup libcsparc64 sparc64 30 * @brief sparc64 architecture dependent parts of libc 31 * @ingroup lc 29 /** @addtogroup libc 32 30 * @{ 33 31 */ 34 /** @file 32 /** 33 * @file 35 34 */ 36 35 37 #include <libc.h> 36 #ifndef LIBC_amd64_SYSCALL_H_ 37 #define LIBC_amd64_SYSCALL_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) 40 { 41 return 0; 42 } 39 #include <syscall.h> 40 41 #endif 43 42 44 43 /** @} -
uspace/libc/arch/sparc64/Makefile.inc
r9314ee1 r002e613 33 33 TOOLCHAIN_DIR = /usr/local/sparc64/bin 34 34 35 ARCH_SOURCES += arch/$(ARCH)/src/syscall.c \ 36 arch/$(ARCH)/src/psthread.S \ 35 ARCH_SOURCES += arch/$(ARCH)/src/psthread.S \ 37 36 arch/$(ARCH)/src/thread.c 38 37 -
uspace/libc/generic/ddi.c
r9314ee1 r002e613 53 53 int map_physmem(void *pf, void *vp, unsigned long pages, int flags) 54 54 { 55 return __SYSCALL4(SYS_MAP_PHYSMEM, (sysarg_t) pf, (sysarg_t) vp, pages, flags);55 return __SYSCALL4(SYS_MAP_PHYSMEM, (sysarg_t) pf, (sysarg_t) vp, pages, flags); 56 56 } 57 57 -
uspace/libc/include/libc.h
r9314ee1 r002e613 38 38 #include <types.h> 39 39 #include <kernel/syscall/syscall.h> 40 #include <libarch/syscall.h> 40 41 41 42 #define __SYSCALL0(id) __syscall(0, 0, 0, 0, id) … … 48 49 extern void __io_init(void); 49 50 extern void __exit(void); 50 extern sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3, const sysarg_t p4, const syscall_t id);51 52 51 53 52 #endif -
uspace/libc/include/sys/types.h
r9314ee1 r002e613 27 27 */ 28 28 29 29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __LIBC__SYS_TYPES_H__36 #define __LIBC__SYS_TYPES_H__35 #ifndef LIBC_SYS_TYPES_H_ 36 #define LIBC_SYS_TYPES_H_ 37 37 38 38 #include <types.h> … … 40 40 #endif 41 41 42 43 44 /** @} 42 /** @} 45 43 */ 46 44
Note:
See TracChangeset
for help on using the changeset viewer.