[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-sparc64
Subject:    Re: [PATCH] Re: sparc64/sparc64/exception.S
From:       Marius Strobl <marius () alchemy ! franken ! de>
Date:       2005-12-06 14:15:17
Message-ID: 20051206151517.K75892 () newtrinity ! zeist ! de
[Download RAW message or body]


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?

Marius

-- 
This mail was scanned by AntiVir Milter.
This product is licensed for non-commercial use.
See www.antivir.de for details.
_______________________________________________
freebsd-sparc64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64
To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic