marius
ad3630f76e
Use <sys/ktr.h> directly in .S files instead of exporting the
...
KTR_* class macros via genassym.c. Together with sys/sys/ktr.h
rev. 1.34 this has the desired side-effect of providing a default
value for KTR_COMPILE. Thus this fixes warnings from -Wundef
regarding KTR_COMPILE not being defined for .S files.
Requested by: ru
Reviewed by: ru
2005-12-06 16:38:08 +00:00
obrien
0934a65cb4
Two tokens that don't together form a vaid preprocssor token cannot be
...
pasted together using ANSI-C token concatinatation. GCC's cpp, at least,
produces the desired result w/o using "##".
2003-04-26 17:00:10 +00:00
jake
10c7b1ac04
Provide an implementation of KTR_CPU that doesn't use pcpu, so we don't
...
crash and burn if its not setup yet. Add timestamp, cpu, and (fake) file
and line recording to the asm version of CTR.
2002-04-06 08:40:59 +00:00
jake
c5b8016f63
Remove an unused macro arg.
2001-10-20 15:57:39 +00:00
jake
de1928a0bc
Don't overflow the ktr buffer <gulp>.
2001-09-30 18:42:56 +00:00
jake
9f19dd2781
Add simple macros for tracing in assembler files. There are quite
...
a few places where we cannot even call a function, and these have
proven to be very useful debugging tools for such situations.
2001-09-03 22:32:49 +00:00