public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Graeme T Ford <gtford@gmail.com>
To: linux lover <linux.lover2004@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Understanding how kernel functions works and adding new one
Date: Sat, 25 Dec 2004 09:09:39 +0000	[thread overview]
Message-ID: <31f2b71904122501096a8b787@mail.gmail.com> (raw)
In-Reply-To: <72c6e3790412242020482eadbe@mail.gmail.com>

Take a look at:

http://www.kernelhacking.org/docs/kernelhacking-HOWTO/index.html

and

http://www.linuxhq.com/lkprogram.html

First is a basic intro, the latter contains some good information to
get you started.

You might also find just looking at random .c files in the driver
source directory helpful, to see how it's been done there.

Lastly, I've noticed you've been asking some questions over the past
few days which are easily answered by a simple Google search - may I
suggest that as a first point of call in future. You'd probably learn
a lot more by searching for stuff yourself.

Regards (and Merry Christmas),

Graeme.


On Sat, 25 Dec 2004 09:50:23 +0530, linux lover
<linux.lover2004@gmail.com> wrote:
> Hello ,
>          I want to know what things are require me to add my own
> function in kernel through modules?
>           Actually i  have 2 questions in my mind
>        1) Is it possible to write own user defined function in kernel
> modules and get in laoded in kernel and allow kernel to use it?
>        2) Is it possible to add my own function program in C file to
> kernel and allow my kernel module to use it?
>        I want to add own function not any system call(Am i
> misunderstanding between syscall and new function call in kernel?)
>          Can anybody correct me in above approaches?Also give me steps
> to do that adding functions in kernel/kernel module?
> Thanks in advance.
> regards,
> linux.lover
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

  reply	other threads:[~2004-12-25  9:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-25  4:20 Understanding how kernel functions works and adding new one linux lover
2004-12-25  9:09 ` Graeme T Ford [this message]
2004-12-25 13:15   ` Jim Nelson
2004-12-25 20:04     ` Pedro Venda
2004-12-28 20:38       ` Lee Revell
2004-12-26  4:16     ` sean
2004-12-26 10:00     ` Chris Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=31f2b71904122501096a8b787@mail.gmail.com \
    --to=gtford@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux.lover2004@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox