contiki/cpu/x86
Andre Guedes 5f47bafc6a x86: Add Real-Time Clock Driver
This patch adds a driver for Real-Time Clock (RTC). The RTC timer is
suitable to implement some operating system features such as the
system clock. Actually, the RTC will be used to implement the system
clock in galileo platform.

The driver introduced by this patch programs the RTC to generate
interrupt periodically. The interrupt frequency can be configured by the
user. On each RTC 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).

This patch also adds the inb() helper function to helpers.h. The helpers
is a wrapper for assembly 'in' instruction.
2015-12-21 08:06:14 -02:00
..
drivers x86: Add Real-Time Clock Driver 2015-12-21 08:06:14 -02:00
cpu.c x86: Initialize the 8259 PIC 2015-12-21 08:06:14 -02:00
cpu.h x86: CPU Initialization 2015-12-21 08:06:14 -02:00
gdt.c x86: Initialize Global Descriptor Table 2015-12-21 08:06:14 -02:00
gdt.h x86: Initialize Global Descriptor Table 2015-12-21 08:06:14 -02:00
helpers.h x86: Add Real-Time Clock Driver 2015-12-21 08:06:14 -02:00
helpers.S x86: Add Real-Time Clock Driver 2015-12-21 08:06:14 -02:00
idt.c x86: Introduce interrupt.h 2015-12-21 08:06:14 -02:00
idt.h x86: Initialize Interrupt Descriptor Table 2015-12-21 08:06:14 -02:00
interrupt.h x86: Introduce interrupt.h 2015-12-21 08:06:14 -02:00
Makefile.x86 x86: Add Real-Time Clock Driver 2015-12-21 08:06:14 -02:00
mtarch.c x86: Fix missing include warning due to memset usage 2015-12-21 08:06:14 -02:00
mtarch.h A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00