On Fri, 28 Mar 2014 07:25:37 -0000, 김찬 said:
>         andcc   %l7, 1, %g0
>         bne     linux_fast_syscall

> Then what is this "andcc %l7, 1, %g0" doing?

Well, I'm not an expert on Sparc assembler, but.. 'andcc' looks like it's
doing an and, and setting the cc (condition code).  Then 'bne' branch not
equal.  Looks to me like it's testing a bit in the just-loaded address
to see if it's flagged as using the fast_syscall code.  Go check the code
that generates the table and see if there is something different about the
way they generate some entries.

Attachment: pgp4pgZVHI_9B.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to