tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PR] Does kernel modules work on AMD64 under NetBSD 5.0.1 ?



Hi,
On Nov,Monday 2 2009, at 9:03 AM, Hans Petter Selasky wrote:

On Sunday 01 November 2009 23:30:56 Adam Hamsik wrote:
Hi,

...

LKM support was removed just after the 5.0 branch you should change
your module to new modular framework.


Are there any example Make and C-files for this new modular framework?

Look here [1].

BTW: Please keep some dummy wrapper for malloc() :-)

Old kernel malloc is deprecated too and you should use kmem_alloc for memory allocation.

[1]http://nxr.aydogan.net/source/xref/src/sys/modules/example/

Regards

Adam.



Home | Main Index | Thread Index | Old Index