Date: Tue, 21 Nov 2000 22:21:19 -0500 (EST) From: Daniel Eischen <eischen@vigrid.com> To: Jake Burkholder <jburkhol@home.com> Cc: John Baldwin <jhb@FreeBSD.ORG>, Jonathan Lemon <jlemon@flugsvamp.com>, arch@FreeBSD.ORG Subject: Re: Thread-specific data and KSEs Message-ID: <Pine.SUN.3.91.1001121221700.26351C-100000@pcnet1.pcnet.com> In-Reply-To: <20001122015756.AF470BA7A@io.yi.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 21 Nov 2000, Jake Burkholder wrote:
> Doug uses $8 (t7) on the alpha for the per-cpu data pointer, and r13
> on ia64. Not that that means anything to me.
>
> alpha/inclue/globals.h:
>
> register struct globaldata *globalp __asm__("$8");
>
> ia64/include/globals.h:
>
> register struct globaldata *globalp __asm__("r13");
>
> Its not really relevant if they're the same in and out of the kernel
> cause the memory isn't addressable in both places anyway.
I don't necessarily even need them to point to anything. Just an
index into a table is sufficient, though it might be more efficient
to use it as a pointer on architectures where its large enough.
--
"Some folks are into open source, but me, I'm into open bar."
-- Spencer F. Katt
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.1001121221700.26351C-100000>
