kldload issue: "Exec format error" with amd64 FreeBSD
fabian at wenks.ch
Fri Aug 10 21:10:22 UTC 2007
Yong Rao wrote:
> Is there example makefile(device driver code set) we can refer to?
I don't know much about programming, but probably having a look
into the follwing folders will help you to find the information
here is a Makefile for the whole kernel, I guess
device drivers which could be in the kernel
eg. here are the files of the Intel NIC driver
the Makefile for the Intel NIC kernel modul?
The chapter "II. Device Drivers"  in the "FreeBSD Architecture
Handbook"  probably is also helpful.
Hope this helps.
More information about the freebsd-amd64