osd-contiki/cpu/x86
Jesus Sanchez-Palencia 9d3b9cadc4 galileo: Concentrate core implementations in platform/galileo/core/
Currently, it is common to see Contiki's core/ interfaces implementations
spread in both cpu/ and platform/. We here take one step further starting
an effort to centralize all of these in platform's code instead.

This commit starts this by adding platform/galileo/core/ and its sys/
subfolder, adding a stubbed mtarch.h and moving clock and rtimer
implementations to this new folder. From now on we should concentrate
implementation from Contiki's core/ interfaces into the appropriate
subfolder in platform/galileo/core/.

Note that this is not the current fashion followed on other platforms
and cpus folders, as most of them add the core interface implementation
into its subfolder directly. For instance, on CC2538DK,
core/dev/button-sensor.h is implemented in platform/cc2538dk/dev/
directly, while on Galileo it would sit at platform/galileo/core/dev/.
We believe ours is a better approach to organize and escalate a
platform's code base.

We also remove previous x86 mtarch.h and mtarch.c since they weren't used
at all - both native and cooja platforms have their own mtarch
implementations.
2015-12-21 08:06:14 -02:00
..
drivers x86: Add APIs to 8259 PIC driver 2015-12-21 08:06:14 -02:00
cpu.c x86: Add a fake IRQ7 handler to avoid spurious interrupts 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 galileo: Concentrate core implementations in platform/galileo/core/ 2015-12-21 08:06:14 -02:00