linux-mips
[Top] [All Lists]

Re: XKPHYS_KERNEL patch - kernel in 64-bit space

To: Stanislaw Skowronek <sskowron@ET.PUT.Poznan.PL>
Subject: Re: XKPHYS_KERNEL patch - kernel in 64-bit space
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Sat, 15 May 2004 16:50:56 +0200
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
In-reply-to: <Pine.GSO.4.10.10405151626200.27563-200000@helios.et.put.poznan.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.GSO.4.10.10405151626200.27563-200000@helios.et.put.poznan.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.6i
Stanislaw Skowronek wrote:
[snip]
> diff -urN linux-mips-cvs-mdules/arch/mips/mm/tlb-andes.c 
> linux-mips-xkphys/arch/mips/mm/tlb-andes.c
> --- linux-mips-cvs-mdules/arch/mips/mm/tlb-andes.c    Wed Mar 17 22:26:44 2004
> +++ linux-mips-xkphys/arch/mips/mm/tlb-andes.c        Sat May 15 16:09:42 2004
> @@ -264,7 +264,7 @@
>  #endif
>  #ifdef CONFIG_MIPS64
>       memcpy((void *)(CKSEG0 + 0x000), &except_vec0_generic, 0x80);
> -     memcpy((void *)(CKSEG0 + 0x080), except_vec1_r10k, 0x80);
> +     memcpy((void *)(CKSEG0 + 0x080), &except_vec1_r10k, 0x80);
>       flush_icache_range(CKSEG0 + 0x80, CKSEG0 + 0x100);

This flush_icache_range should start from CKSEG0, not (CKSEG0 + 80).


Thiemo

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