[PATCH] Re: sparc64/sparc64/exception.S
marius at alchemy.franken.de
Tue Dec 6 06:15:25 PST 2005
On Tue, Dec 06, 2005 at 04:02:05PM +0200, Ruslan Ermilov wrote:
> 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!
Which variant? Just adding KTR_COMPILE to genassym.c or the
changes to use <sys/ktr.h> in asm source directly? If the
latter may I refer to them as reviewed by you?
This mail was scanned by AntiVir Milter.
This product is licensed for non-commercial use.
See www.antivir.de for details.
More information about the freebsd-sparc64