[PATCH] Re: sparc64/sparc64/exception.S

Ruslan Ermilov ru at FreeBSD.org
Tue Dec 6 06:04:38 PST 2005

On Tue, Dec 06, 2005 at 02:41:35PM +0100, Marius Strobl wrote:
> One probably could get away with leaving the KTR_* offset macros
> in genassym.c and just removing those exporting KTR_CT* etc.
> from <sys/ktr.h> and extending the scope of #ifndef LOCORE in
> <sys/ktr.h> so it can be included in asm source.
> However, the problem of exporting the latter set of KTR_* macros
> to the asm version of ktr(4) isn't new so I'd just go for adding
> KTR_COMPILE to genassym.c as suggested before. If you really want
> to go the route of directly using <sys/ktr.h> in asm source
> something like the patch below probably is what you want to do
> (does technically the right thing, not sure about style).
It works (now for both GENERIC and LINT, that is without and
with KTR defined :-).  Please commit!

Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20051206/bb605313/attachment.bin

More information about the freebsd-sparc64 mailing list