IBM_HANDLE_EVENTS

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ibm_handle_events - listens for ACPI events for the IBM37D0 device  

SYNOPSIS

"SYNOPSIS"

void ibm_handle_events (acpi_handle handle, u32 event, void * context);  

ARGUMENTS

handle
an ACPI handle to the device that caused the event
event
the event info (device specific)
context
passed context (our notification struct)
 

DESCRIPTION

this method is registered as a callback with the ACPI subsystem it is called when this device has an event to notify the OS of

The events actually come from the device as two events that get synthesized into one event with data by this function. The event ID comes first and then the slot number that caused it. We report this as one event to the OS.

From section 5.6.2.2 of the ACPI 2.0 spec, I understand that the OSPM will only re-enable the interrupt that causes this event AFTER this method has returned, thereby enforcing serial access for the notification struct.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:15 GMT, October 09, 2005