linux-mips
[Top] [All Lists]

Re: problem with 64bit kernel, BOOT_ELF32 and memory outside CKSEG0

To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: Re: problem with 64bit kernel, BOOT_ELF32 and memory outside CKSEG0
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Tue, 13 Nov 2007 12:10:44 +0000 (GMT)
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
In-reply-to: <20071112223104.GA7900@alpha.franken.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20071111143302.GA26458@alpha.franken.de> <20071111213127.GA26297@linux-mips.org> <20071112083242.GA6065@alpha.franken.de> <20071112104423.GA27588@linux-mips.org> <20071112223104.GA7900@alpha.franken.de>
Sender: linux-mips-bounce@linux-mips.org
On Mon, 12 Nov 2007, Thomas Bogendoerfer wrote:

> I simply used call_o32.S from the decstation part and missed the
> fact, that it simply uses the normal kernel stack when calling
> firmware. This works quite good until the first kernel thread
> gets scheduled, which has a kernel stack via a CAC_BASE address.

 You could do stack switching in call_o32() -- I just figured there was no 
point in adding this complication as the DECstation always runs from KSEG0 
-- it has the maximum of 480MB of RAM mapped linearly starting from 0.

  Maciej

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