2014/09/16

Linux Timer Interface

/* Initialize a simple mmio based clocksource */
clocksource_mmio_init

/* set up the handler of timer interrupt ,
In Irq handler, clock_event_device.event_handler will be called.
event_handler: Assigned by the framework to be called by the low level handler of the event source
*/
setup_irq

/* Configure and register a clock event device */
clockevents_config_and_register

No comments:

Post a Comment

Post Code on Blogger

Simplest way to post code to blogger for me: <pre style="background: #f0f0f0; border: 1px dashed #CCCCCC; color: black;overflow-x:...