NetBSD/sys
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
..
adosfs Implement poll(2). 1996-09-07 12:40:22 +00:00
arch Added new macro _PROF_PROLOG which contains the code sequence needed 1996-09-24 00:05:55 +00:00
compat Handle relative paths to the source tree if they begin with '.'. 1996-09-23 05:01:52 +00:00
conf rename exec_elf.c to exec_elf32.c, since it execs 32-bit ELF. exec_elf32.c 1996-09-20 22:33:23 +00:00
ddb change more __kprintf__ format attributes to use __kprintf_attribute__, 1996-04-04 05:13:50 +00:00
dev put set of 'channel' field of scsi_link in the right #ifdef 1996-09-20 22:38:37 +00:00
isofs/cd9660 Implement poll(2). 1996-09-07 12:40:22 +00:00
kern rename exec_elf.c to exec_elf32.c, since it execs 32-bit ELF. exec_elf32.c 1996-09-20 22:33:23 +00:00
lib Handle relative paths to the source directory if they begin with a '.'. 1996-09-23 05:00:45 +00:00
lkm add compat svr4 and sunos modules. the sunos module will not work 1996-08-28 06:17:23 +00:00
miscfs Implement poll(2). 1996-09-07 12:40:22 +00:00
msdosfs "'" and "^" are allowed in short fat filenames, 1996-09-20 16:45:45 +00:00
net Use sys/types.h and sys/systm.h to bring in prototypes for bzero() and 1996-09-18 03:11:03 +00:00
netccitt Mostly minor changes. 1996-05-23 23:35:22 +00:00
netinet commit fix in pr 2772 -- the IP input code was assuming that the 1996-09-21 19:44:32 +00:00
netiso Catch up with netinet changes. 1996-09-17 16:43:48 +00:00
netnatm add missing lines (missing pointer to usrreq fn) 1996-09-18 00:56:41 +00:00
netns Restructure ns_control() like other protocols. 1996-09-08 14:49:41 +00:00
nfs Implement poll(2). 1996-09-07 12:40:22 +00:00
scsi For ioctl commands which may change the device's state, ensure that 1996-09-18 02:34:31 +00:00
stand New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:39:25 +00:00
sys Add fwd struct declarations and protect include of libkern.h 1996-09-20 22:11:38 +00:00
ufs Make this compile cleanly from userland (fsck_ffs). 1996-09-20 22:14:59 +00:00
vm make pageout sleep on vm_pages_needed rather than lbolt. this stops 1996-09-18 02:04:50 +00:00
Makefile The `lib' sub-directory no longer has a Makefile. 1995-09-15 21:05:21 +00:00