Inside a real char driver

Walk through the source of /dev/mem.

driver/char/mem.c

  • init
  • open
  • read
  • write