Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.arcetri.astro.it/irlab/doc/library/linux/khg/HyperNews/get/khg/139.html
Дата изменения: Thu Mar 23 12:37:42 2000
Дата индексирования: Wed Sep 15 00:49:15 2010
Кодировка:

Поисковые слова: обвмадеойс нефептощи рпфплпч
creating a kernel relocatable module The HyperNews Linux KHG Discussion Pages

Question: creating a kernel relocatable module

Forum: The Linux Kernel Hackers' Guide
Keywords: kernel relocatable module
Date: Wed, 29 Oct 1997 18:41:01 GMT
From: Simon Kittle <simon@nfm.co.uk>

is there any tutorial/documentation for writing relocatable modules for the kernel or just stuff on the structure of it. I have been able to get a sort of bare bones module that does nothing loaded and unloaded (the code was just stripped down from some other device driver module) but I cant get new functions, I supose they would be syscalls to work. If I just want to add a few syscalls and not deal with any hardware, how do I "register" them so the kernel knows to use them. When I wrote one such function just to try and return one char, I wrote program to test it but could not get it linked

any hep much apprieciated.

tanks - Simon Kittle