freebsd-nq/sys/pc98/cbus
Peter Wemm f41325db5f With this commit, I hereby pronounce gensetdefs past its use-by date.
Replace the a.out emulation of 'struct linker_set' with something
a little more flexible.  <sys/linker_set.h> now provides macros for
accessing elements and completely hides the implementation.

The linker_set.h macros have been on the back burner in various
forms since 1998 and has ideas and code from Mike Smith (SET_FOREACH()),
John Polstra (ELF clue) and myself (cleaned up API and the conversion
of the rest of the kernel to use it).

The macros declare a strongly typed set.  They return elements with the
type that you declare the set with, rather than a generic void *.

For ELF, we use the magic ld symbols (__start_<setname> and
__stop_<setname>).  Thanks to Richard Henderson <rth@redhat.com> for the
trick about how to force ld to provide them for kld's.

For a.out, we use the old linker_set struct.

NOTE: the item lists are no longer null terminated.  This is why
the code impact is high in certain areas.

The runtime linker has a new method to find the linker set
boundaries depending on which backend format is in use.

linker sets are still module/kld unfriendly and should never be used
for anything that may be modular one day.

Reviewed by:	eivind
2001-06-13 10:58:39 +00:00
..
30line.h Fixed warnings. 2000-10-15 04:54:17 +00:00
cbus_dma.c Merged from sys/i386/isa/isa_dma.c revision 1.6. 2000-06-28 03:18:51 +00:00
cbus.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
clock.c Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
fdc.c Hints overhaul: 2001-06-12 09:40:04 +00:00
fdcreg.h Move out the files from src/sys/isa/ic/ to src/sys/dev/ic/, so they 2001-06-04 21:04:14 +00:00
gdc.c Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
olpt.c Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
pckbd.c RIP <machine/lock.h>. 2001-02-11 10:44:09 +00:00
pcrtc.c Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
ppc.c Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
ppcreg.h Port of the PC-98 ppc to the newbus system. 2000-01-20 00:58:49 +00:00
sc_machdep.h Synced with the sc driver in the sys/dev/syscons directory. 2000-01-20 15:16:49 +00:00
scgdcrndr.c With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
scterm-sck.c Merged from sys/dev/syscons/scterm-sc.c revisions from 1.8 to 1.12. 2000-07-30 08:12:08 +00:00
scvtb.c Fixed include files to use sys/{cons,fb,kb}io.h instead of 2000-10-09 11:07:18 +00:00
sio.c Move the files from i386/isa/ic/ to dev/ic/. 2001-06-10 04:28:39 +00:00
syscons_cbus.c Used kbio.h and consio.h instead of machine/console.h. 2000-10-20 10:35:44 +00:00