Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1862 → Rev 1863

/trunk/kernel/generic/include/syscall/syscall.h
32,8 → 32,8
/** @file
*/
 
#ifndef __SYSCALL_H__
#define __SYSCALL_H__
#ifndef KERN_SYSCALL_H_
#define KERN_SYSCALL_H_
 
typedef enum {
SYS_IO = 0,
80,7 → 80,6
unative_t a4, unative_t id);
extern unative_t sys_tls_set(unative_t addr);
 
 
#endif
 
#endif
/trunk/kernel/arch/sparc64/include/trap/syscall.h
49,7 → 49,6
sethi %hi(syscall), %g1
ba trap_instruction_handler
or %g1, %lo(syscall), %g1
 
.endm
 
#endif /* __ASM__ */
/trunk/kernel/arch/sparc64/src/trap/trap_table.S
513,7 → 513,7
*
* Input registers:
* %g1 Address of function to call.
* %g2 Argument for the function.
* %g2 First argument for the function.
* %g6 Pre-set as kernel stack base if trap from userspace.
* %g7 Pre-set as address of the userspace window buffer.
*/