Print this page
de-linting of .s files

*** 33,59 **** #include <sys/trap.h> #include <sys/machtrap.h> #include <sys/pcb.h> #include <sys/machparam.h> - #if !defined(lint) && !defined(__lint) #include "assym.h" - #endif #ifdef TRAPTRACE #include <sys/traptrace.h> #endif /* TRAPTRACE */ - #if defined(lint) || defined(__lint) - - /*ARGSUSED*/ - void - syscall_trap(struct regs *rp) /* for tags only; not called from C */ - {} - - #else /* lint */ - #if (1 << SYSENT_SHIFT) != SYSENT_SIZE #error "SYSENT_SHIFT does not correspond to size of sysent structure" #endif /* --- 33,48 ----
*** 288,307 **** call post_syscall ! post_syscall(rvals) nop jmp %l0 + 8 ! return to user_rtt nop SET_SIZE(syscall_trap) - #endif /* lint */ - #if defined(lint) || defined(__lint) - - void - syscall_trap32(void) /* for tags only - trap handler - not called from C */ - {} - - #else /* lint */ - /* * System call trap handler for ILP32 processes. * * We branch here from sys_trap when a system call occurs. * --- 277,287 ----
*** 548,578 **** nop jmp %l0 + 8 ! return to user_rtt nop SET_SIZE(syscall_trap32) - #endif /* lint */ - /* * lwp_rtt - start execution in newly created LWP. * Here with t_post_sys set by lwp_create, and lwp_eosys == JUSTRETURN, * so that post_syscall() will run and the registers will * simply be restored. * This must go out through sys_rtt instead of syscall_rtt. */ - #if defined(lint) || defined(__lint) - - void - lwp_rtt_initial(void) - {} - - void - lwp_rtt(void) - {} - - #else /* lint */ ENTRY_NP(lwp_rtt_initial) ldn [THREAD_REG + T_STACK], %l7 call __dtrace_probe___proc_start sub %l7, STACK_BIAS, %sp ba,a,pt %xcc, 0f --- 528,545 ----
*** 590,595 **** ldx [%l7 + O1_OFF], %o1 ba,a,pt %xcc, user_rtt SET_SIZE(lwp_rtt) SET_SIZE(lwp_rtt_initial) - #endif /* lint */ --- 557,561 ----