2010/10/16 Adam Jiang <jiang.adam@xxxxxxxxx>: > Please dig into > > arch/mips/include/asm/uasm.h > > You'd better try "make cscope" and use emacs with the cscope > database. It allows you to surfing the source code very fast. > > Best regards, > /Adam well, I didn't find uasm.h in 2.6.24.7. However , I found i_j macro to be defined just in tlbex.c, which hands over to I_u1(_j); They just make up pieces of asm opt code into a string and copy them to ebase: memcpy((void *)ebase, final_handler, 0x100); Why they did like this seemed strange to me, maybe in the consideration of portability.