NetBSD/sys/arch/m68k/include
jtc d137b0e8ba Added new macro _PROF_PROLOG which contains the code sequence needed
to call mcount().  This is needed because the ``link a6,#0'' insn used
trips up gcc's ANSI preprocessor (A # in a function-type macro must be
followed by a macro argument).  _PROF_PROLOG is also used in the i386
asm.h.

Solaris' asm_linkage.h has a MCOUNT macro similar to _PROF_PROLOG
except it expands to different code sequences based on whether a
function is being compiled with "prof" or "gprof" instrumentation.

I also discovered that the m68k ALTENTRY is very different than the
implementation used by other NetBSD ports.  Usually ALTENTRY simply
provides an alternate function entry point.  The m68k version takes a
second argument and jumps inside the second function when profiling is
enabled.  The m68k behavior is similar to the ENTRY2 macro found in
solaris.

Providing ENTRY2 and changing all the code that uses ALTENTRY to use
it would be a desirable change.
1996-09-24 00:05:55 +00:00
..
ansi.h Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1. 1996-03-16 01:31:45 +00:00
aout_machdep.h All of the m68k ports' exec.h's were essentially the same. Merge them. 1996-09-08 00:57:29 +00:00
asm_single.h Add macro's that do bclr/bset in a single instruction. 1996-09-16 06:03:58 +00:00
asm.h Added new macro _PROF_PROLOG which contains the code sequence needed 1996-09-24 00:05:55 +00:00
cdefs.h Changed name of __weak_reference() to __indr_reference(). They really 1995-03-23 19:58:48 +00:00
cpu.h Add an FPU_UNKNOWN constant; just a placeholder for any unknown FPU. 1996-09-12 02:52:34 +00:00
db_machdep.h Prototype + -Wall fixes. 1996-04-29 20:50:08 +00:00
endian.h Back out previous; this is a bigger problem than I expected. 1996-08-14 00:32:53 +00:00
exec.h All of the m68k ports' exec.h's were essentially the same. Merge them. 1996-09-08 00:57:29 +00:00
float.h Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif. 1995-06-20 20:45:22 +00:00
frame.h 3 more constants for 68060 access error trap stack frames. 1996-05-16 16:51:30 +00:00
ieeefp.h Shift the bit positions. 1995-04-09 23:29:22 +00:00
kcore.h Add the include files and the atari kernel support for new format panic 1996-03-10 21:54:44 +00:00
limits.h new RCS ID format. 1994-10-26 07:48:18 +00:00
m68k.h Add an FPU_UNKNOWN constant; just a placeholder for any unknown FPU. 1996-09-12 02:52:34 +00:00
profile.h KERNEL -> _KERNEL 1995-03-26 17:08:36 +00:00
psl.h new RCS ID format. 1994-10-26 07:48:18 +00:00
ptrace.h Add PT_[GS]ETFPREGS. 1995-01-26 19:47:10 +00:00
reg.h KERNEL -> _KERNEL 1995-03-26 17:08:36 +00:00
setjmp.h make the definition of _JBLEN mach. dep. header-dependent. 1994-12-20 10:36:27 +00:00
signal.h Only define sig_atomic_t when _ANSI_SOURCE is defined. 1995-01-10 19:01:00 +00:00
stdarg.h Stylistic changes. 1995-12-25 23:15:31 +00:00
trap.h new RCS ID format. 1994-10-26 07:48:18 +00:00
types.h add <sys/cdefs.h> inclusions. namsspace-protect physadr, label_t 1995-07-06 03:39:32 +00:00
varargs.h Make the type of __builtin_va_list a long. 1995-12-26 01:16:24 +00:00