This section documents the functions available to device driver
writers and kernel level modules. The functions are of interest mainly
to device driver writers, although anyone considering running code in
linux kernel mode may need to be familiar with these interfaces.
Some of the functions of the DDI exist only in certain versions of the
kernel. Use the
macro to test for specific versions of the kernel. For example, to use
a feature that is new to 2.1, say:
#if LINUX_VERSION_CODE >= 0x020100
... use new stuff ...
... do it the old way ...
The following is a list of the man pages, divided roughly into
These are general kernel functions.
These functions relate to manipulation of the
These are specific to PCI (BIOS32) support.
These are functions that support manipulating the virtual memory
Each man page attempts to list the kernel versions where the function
is available. If the form of the function changes, this section tells
when the described form applies.
This section lists other man pages that may be of interest. Also,
interesting source files in the linux kernel may be listed here.
Each man page has a section like this one that lists the author(s) who
contributed significantly to that page. Other unnamed individuals may
also have contributed corrections, editorial, etc.
Editorial, and this intro page, were done by Stephen Williams
The living linux kernel is a moving target, and the kernel functions
are unique to linux. Therefore, although the editor and contributers
make a good effort to be as accurate as possible, errors may
exist. The source codes of the linux kernel are the ultimate authority
on the behavior of any function and should be considered the final