Date: Wed, 28 Apr 1999 21:34:03 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Dmitrij Tejblum <tejblum@arc.hq.cti.ru> Cc: Dmitrij Tejblum <dt@freebsd.org>, cvs-committers@freebsd.org, cvs-all@freebsd.org, luoqi@freebsd.org Subject: Re: cvs commit: src/sys/alpha/alpha pmap.c Message-ID: <Pine.BSF.4.05.9904282133310.41254-100000@herring.nlsystems.com> In-Reply-To: <199904282026.AAA89593@arc.hq.cti.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Apr 1999, Dmitrij Tejblum wrote: > > > (I just discovered that freshly built kernel panic on boot in > > > run_interrupt_driven_config_hooks+0x68 due to a memory access fault. :-| > > > Ideas?) > > That's because Luoqi removed "curproc = p; /* XXX redundant */" from > init_proc0(). > Any idea where it should be done nowdays? Maybe locore? I think that the i386 port does it there. I haven't tested this patch. Index: locore.s =================================================================== RCS file: /home/ncvs/src/sys/alpha/alpha/locore.s,v retrieving revision 1.6 diff -u -r1.6 locore.s --- locore.s 1998/11/28 09:55:15 1.6 +++ locore.s 1999/04/28 20:33:01 @@ -110,6 +110,7 @@ * Switch to proc0's PCB, which is at U_PCB off of proc0paddr. */ lda t0,proc0 /* get phys addr of pcb */ + stq t0,curproc /* initialise curproc */ ldq a0,P_MD_PCBPADDR(t0) SWITCH_CONTEXT -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9904282133310.41254-100000>