Session : Kernel activities

Tasks

Download and unzip the tasks archive sesiune-08 on the virtual machine.

  1. Interrrupts
    • Use the code in 1-irq/ to implement a simple keyboard logger.
    • TODO 1 - grab the interrupt line
      • in module initialization function request the interrupt line, use I8042_KBD_IRQ macro.
      • in module exit function release the irq line.
    • TODO 2 - implement the interrupt handler
      • interrupt handler must read keys pressed using i8042_read_data and print to kernel log only ASCII characters
    • TODO 3 - implement i8042_read_data function
      • this function should read and return the value stored in DATA register.
      • use inb family of functions
  2. Tasklets, work queues, timers
sesiuni/kernel/activities.txt · Last modified: 2012/07/11 08:45 by dbaluta