Ok so since I don't know alpha assembly.
can it be changed to teh address of the thread0 structure?

(I'll bet the same thing needs to be done on the other
architectures)


THANKS!


On Wed, 6 Feb 2002, Andrew Gallatin wrote:

> 
> Julian Elischer writes:
>  > 
>  > for the set of patches at:
>  > http://www.freebsd.org/~julian/adiff
>  > 
>  > these patches SHOULD NOT EFFECT your system except to do some
>  > slight re-aranging of stuff in the kernel.
> 
> Today's alpha kernel, plus those changes results in a ksp not valid
> halt with the PC near the beginning of mi_startup:
> 
> /boot//kernel.bad/kernel data=0x4150c0+0x39360
> syms=[0x8+0x62e68+0x8+0x4a36d]
> Entering /boot//kernel.bad/kernel at 0xfffffc000033b680...
> sio1: gdb debugging port
> 
> halted CPU 0
> 
> halt code = 2
> kernel stack not valid halt
> PC = fffffc000047e80c
> >>>
> 
> 
> Since thread0 is no longer a pointer, this looks suspicious in locore.s:
> 
>         /*
>          * Switch to proc0's PCB.
>          */
>         ldq     t0,thread0              /* get phys addr of pcb */
>         ldq     a0,TD_MD_PCBPADDR(t0)
>         SWITCH_CONTEXT
> 
> 
> 
> Drew
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to