Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

5. Delaying Execution > Kernel Event Handlers

Kernel Event Handlers

Event handlers allow drivers to register one or more functions to be called when an event occurs. As an example, before halting the system, every function that is registered with the event handler shutdown_final is called. Table 5-1 describes every event handler that is available.

Table 5-1. Kernel Event Handlers

Event Handler

Description

acpi_sleep_event

Registered functions are called when the system is sent to sleep.

acpi_wakeup_event

Registered functions are called when the system is woken up.

dev_clone

Registered functions are called when a solicited item under /dev does not exist; in other words, these functions create device nodes on demand.

ifaddr_event

Registered functions are called when an address is set up on a network interface.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint