I don't know the alpha at all but
how about

leaq t0, thread0

or some similar thing

or even..

ldq     t0,$thread0

or something similar..
who's assembler is being used?



On Wed, 6 Feb 2002, Andrew Gallatin wrote:

> 
> Andrew Gallatin writes:
>  > 
>  > 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
> 
> Yeah.. that's it.  I hacked around it by taking thread0's address in
> machdep.c, shoving it into a global and using that global in locore.s
> The resulting kernel booted.
> 
> What's the "right" way to do this?
> 
> Drew
> 


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

Reply via email to