Kernel programming

This is a discussion on Kernel programming within the Linux Programming forums, part of the Platform Specific Boards category; Hi all. i'm studying a book on C programming, but i need a book on C kernel programming. Can you ...

  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    2

    Kernel programming

    Hi all.

    i'm studying a book on C programming, but i need a book on C kernel programming. Can you help me?!

    thank .

    p.s. sorry for my bad english , but i'm italian

  2. #2
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    Ldd3

  3. #3
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Quote Originally Posted by Kennedy View Post
    Ldd3
    Erm...what is that?

    As for the OP you might find something here (you may have to dig since there are a number of sub-categories the info might be found in):
    http://www.onlinecomputerbooks.com/free-linux-books
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  4. #4
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    GOOGLE anyone?

  5. #5
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    I'm guessing he means the Linux Device Driver 3rd edition which is free on line

    If you're gonna buy a book, I'd say "Essential Linux Device Drivers" (Sreekrishnan Venkateswaran) is better.

    However, I'd also say that you may want to look for something with "Kernel Programming" in the title -- while both those books do, I believe, do a thorough job of documenting and demonstrating the kernel API (programming for the kernel is always about modules, aka device drivers, even if they do not operate on any real hardware device) they are not always focussed on a direct and explicit explanation of how the kernel works.

    But first, read chapter 1 of LDD then look thru the table of contents for stuff that interest you.
    Last edited by MK27; 01-26-2010 at 08:25 AM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  6. #6
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    Quote Originally Posted by MK27 View Post
    I'm guessing he means the Linux Device Driver 3rd edition which is free on line
    Wow, you guess right!!! (though, it shouldn't have been too hard since, if you click the link, the first hit is "Linux device Drivers, Third Edition")

    Mostly, I was poking at Jeff (who is experienced enough to have known better than _not_ use Google).

  7. #7
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Quote Originally Posted by Kennedy View Post
    Wow, you guess right!!! (though, it shouldn't have been too hard since, if you click the link, the first hit is "Linux device Drivers, Third Edition")

    Mostly, I was poking at Jeff (who is experienced enough to have known better than _not_ use Google).
    Well in my defense I had just gotten off a plane from a week-long music fest (in Memphis, couple of time-zones away) and still had not caught up on sleep...but yes Google is my first "reference" book I reach for when I have coding questions, particularly Linux since all the documentation is "out there".

    Actually a gig I am up for I might be able to use the ldd3 since it is going to be pretty low-level. Its funny, not to digress: 20+ years ago I started at the chip level, 10 years ago I was working at the distributed computer space and for the past 5 I have been getting back lower and lower again. If I accept this gig, its going to be back at the HW design level again. Weird how things go over time.

    Peace,
    Jeff
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Kernel bug? (attn matsp)
    By brewbuck in forum Linux Programming
    Replies: 7
    Last Post: 04-13-2009, 10:31 AM
  2. SOS - Can a monolithic kernel be used in a micro-kernel style OS?
    By sean in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 11-20-2008, 08:30 AM
  3. Programming RIP2 with kernel routes table
    By jpablo in forum Linux Programming
    Replies: 1
    Last Post: 04-22-2006, 11:26 AM
  4. CreateThread ?!
    By Devil Panther in forum Windows Programming
    Replies: 13
    Last Post: 11-15-2005, 09:55 AM
  5. kernel iteration through for loop
    By sononix in forum C++ Programming
    Replies: 4
    Last Post: 08-11-2004, 06:16 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21