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

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

KernelNewbies:
  • FAQ
  • devkmem

Here is how the kmem can be statically created:

  • see man 4 kmem

/dev/mem is typically created by:

  • mknod -m 660 /dev/mem c 1 1
  • chown root:kmem /dev/mem

The file kmem is the same as mem, except that the kernel virtual memory rather than physical memory is accessed. /dev/kmem is typically created by:

  • mknod -m 640 /dev/kmem c 1 2
  • chown root:kmem /dev/kmem

/dev/port is similar to mem, but the I/O ports are accessed. It is typically created by:

  • mknod -m 660 /dev/port c 1 4
  • chown root:mem /dev/port

Here is the description on the difference between kmem and mem.

http://lwn.net/Articles/147902/

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