osd-contiki/cpu/x86/drivers
Jesus Sanchez-Palencia d70f67cd60 galileo: Add PIT driver
This patch adds a driver for the 8254 Programmable Interrupt Timer (PIT).
The driver introduced by this patch programs the PIT to generate interrupt
periodically. The interrupt frequency can be configured by the user.

On each PIT interrupt, a callback configured by the user is called. As
expected, that callback is executed in interrupt context so the user
should be aware of what it is not supposed to do (e.g. to call blocking
functions).

Issues marked as FIXME are all related to missing APIs on the PIC driver
so they will be addressed by a future commit.
2015-12-21 08:06:14 -02:00
..
pic.h x86: Initialize the 8259 PIC 2015-12-21 08:06:14 -02:00
pit.c galileo: Add PIT driver 2015-12-21 08:06:14 -02:00
pit.h galileo: Add PIT driver 2015-12-21 08:06:14 -02:00
rtc.c x86: Add Real-Time Clock Driver 2015-12-21 08:06:14 -02:00
rtc.h x86: Add Real-Time Clock Driver 2015-12-21 08:06:14 -02:00