[Top] [All Lists]

Re: Where is the definition of i_j macro ?

To: Adam Jiang <>
Subject: Re: Where is the definition of i_j macro ?
From: "wilbur.chan" <>
Date: Sun, 17 Oct 2010 16:43:57 +0800
Cc: Linux MIPS Mailing List <>, chelly wilbur <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=dI/Ei73DxThl2ERxp2v7lf9vx3W19TRXvjCc5t/44vw=; b=Ep5tZe3R/1JmISNuqq4CewPOcOKYbifIP+K5RtEk2YpQkLQySlhwfiJIMYmbFsJSti zwq4AJ2reUfN5lwOOEAB+AlD+Jlp1C6sKQd4mwCVpCWsBGBvll62F02mu9K7iy+19Ffm qoDv6teI3BedfJPXpiKAwnopgfHcxqHY1KNqo=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=uu4Zp3GVqERccww73aysTB+SwDtHKbiyZAO3YgvOERsMX1cQWaWzN/zwbhgVABsVkz I05WOXVitd9jaCfJ9MISriVThL/meCJoBdS/HClRmbN4mnFmrzgCkBF+sfpwj7T8nanA ANzs5yUn2ZOcPwB3iSIY8B6sEkHn6tMc3F1DI=
In-reply-to: <20101016155552.GE23119@capricorn-x61>
Original-recipient: rfc822;
References: <> <20101016155552.GE23119@capricorn-x61>
2010/10/16 Adam Jiang <>:
> 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 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.

<Prev in Thread] Current Thread [Next in Thread>