KernelNewbies
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Kernel Hacking

  • Frontpage

  • Kernel Hacking

  • Kernel Documentation

  • Kernel Glossary

  • FAQ

  • Found a bug?

  • Kernel Changelog

  • Upstream Merge Guide

Projects

  • KernelJanitors

  • KernelMentors

  • KernelProjects

Community

  • Why a community?

  • Regional Kernelnewbies

  • Personal Pages

  • Upcoming Events

References

  • Mailing Lists

  • Related Sites

  • Programming Links

Wiki

  • Recent Changes

  • Site Editors

  • Side Bar

  • Tips for Editors

  • Hosted by WikiWall

Navigation

  • RecentChanges
  • FindPage
  • HelpContents
Revision 2 as of 2007-12-05 22:00:22
KernelNewbies:
  • Module

NOTE - this page is as much a confirmation of my knowledge as it is a presentation to readers - please correct and comment as much as possible, as I need to understand this thoroughly!

Definition

A module is a set of software that is not part of the core kernel yet can be integrated with it through the kernel kbuild procedure or at runtime. Modules always operate in "kernel space."

Properties

Some properties of all kernel modules:

  • Modules can either be "tightly bound" to the kernel, as part

of the linux image, or they can be "loosely bound" and added later, however they all must conform to the standard Linux module interface.

  • Modules are limited to using kernel-provided functions and types. For example they cannot use

GNU C-library calls, since the C-Libraries are user-space libaraies.

  • Modules can be added and removed without restarting the operating system.

Device Drivers

Device Drivers are special modules that provide one or more files in the /dev filesystem.

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01