linux-mips
[Top] [All Lists]

Réf. : Re: To put Linux kernel as closer as possible to 0x80000000

To: Yoichi Yuasa <yyuasa@gmail.com>
Subject: Réf. : Re: To put Linux kernel as closer as possible to 0x80000000
From: Florian DELIZY <florian.delizy@sagem.com>
Date: Tue, 13 Dec 2005 13:28:01 +0100
Cc: colin <colin@realtek.com.tw>, linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org


> Yoichi Yuasa wrote :
> Hi
>
> It has no problem.
> Kernel has reserved space for exception handlers.
>
> Yoichi
>
> 2005/12/13, colin <colin@realtek.com.tw>:
> >
> > Hi all,
> > We want to put Linux kernel as closer as possible to the bottom of memory.
> > I know that there is some stuff put in the beginning of memory, like
> > Exception table.
> > So, what's the closest address to 0x80000000 that is allowable to store
> > kernel?



You should just take care to start after reserved exception/interruption vectors

0x80000000 : TLB Refull
0x80000080 : General Exception Vector

+ 32 instructions.

Depending on your architecture, those addresses may vary (I don't know anything about MIPS64

BTW, what's your arch ?

-- Florian

-----BEGIN GEEK CODE BLOCK-----
GCS:GE:GM/ d? s-:+ a-- C+++
U(BLUAVHISX)++++ P++++ L++++
E--- W+++ N+++ o++++ w--- O M V
PS PE- PGP++ t 5 X+++ R+++ tv-
b+ BI++++ D+++ G e+++ h-- r+++ y+++
-----END GEEK CODE BLOC------
<Prev in Thread] Current Thread [Next in Thread>