linux-mips
[Top] [All Lists]

Re: Kernel link address assumption

To: Himanshu Chauhan <hschauhan@nulltrace.org>
Subject: Re: Kernel link address assumption
From: "Kevin D. Kissell" <kevink@paralogos.com>
Date: Thu, 24 Feb 2011 10:16:47 -0800
Cc: linux-mips <linux-mips@linux-mips.org>
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=paralogos.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Source:X-Source-Args:X-Source-Dir; b=xViR0DSHYXchKMjon7jqSAfzCgzY9uWOEon4T5tXV9+4iX8YsLno+lHiIKXP4UolX1LJ7uEphxGCLCMAJKUiaR4QCAS0IZg5rFm6qZItSzIc74PISiQlNfBnvwtGxbjf;
In-reply-to: <4D669FCE.8000601@nulltrace.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4D669FCE.8000601@nulltrace.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
On 02/24/11 10:13, Himanshu Chauhan wrote:
Hi,

Does Linux kernel for MIPS assumes that its link address is always in Kseg0?
What if I change the link address to somewhere in useg?
Your page fault handlers will be in for an interesting time. ;o)

What you describe can be, and is done, for virtualized kernels running on top of a hypervisor, but there's a bit more involved than just changing the link address.

/K.


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