Dear all:

I was searching the function dtrace_invop_callsite(). I grepped all the
files under usr/uts, found nothing except 2 lines
./intel/ia32/ml/exception.s:335:        ALTENTRY(dtrace_invop_callsite)
./intel/ia32/ml/exception.s:457:        ALTENTRY(dtrace_invop_callsite)

/*
  * #UD
  */
 ENTRY_NP(invoptrap)
 /*
  * If we are taking an invalid opcode trap while in the kernel, this
  * is likely an FBT probe point.
  */
 pushl   %gs
 cmpw $KGS_SEL, (%esp)
 jne 8f
 addl $4, %esp
 pusha
 pushl %eax   /* push %eax -- may be return value */
 pushl %esp   /* push stack pointer */
 addl $48, (%esp)  /* adjust to incoming args */
 pushl 40(%esp)  /* push calling EIP */
 call dtrace_invop
* ALTENTRY(dtrace_invop_callsite)*
 addl $12, %esp
 cmpl $DTRACE_INVOP_PUSHL_EBP, %eax
 je 1f
 cmpl $DTRACE_INVOP_POPL_EBP, %eax

*What does ALTENTRY mean?
Define a new function? But there're no matched
SET_SIZE(dtrace_invop_callsize) for it.*

//I'm not good at pure assembly code :(
TIA

Kind Regards,
TJ
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to