Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2001 11:09:09 -0700 (PDT)
From:      Nate Lawson <nate@elite.net>
To:        freebsd-questions@freebsd.org
Subject:   linker_set's and kld modules?
Message-ID:  <Pine.BSD.3.91.1010626110408.23123C-100000@almond.elite.net>

next in thread | raw e-mail | index | archive | help
I'd like to convert some kernel code (CAM) that uses linker_set 
(sys/linker_set.h) for keeping track of devices to a kernel module.  
Unfortunately, it appears that ld handles linker_sets.  So how can I 
append a new struct to the linker_set array at kld load time?  Or do I 
have to change the base code to use a more dynamic struct like SLIST?

-Nate

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSD.3.91.1010626110408.23123C-100000>