osd-contiki/cpu/x86
Jesus Sanchez-Palencia 80fe1de0b1 x86: Isolate SoC specific cpu_init code
This commit turns cpu_init() into a SoC-agnostic function by
removing any SoC specific calls and isolating them into their
own SoC implementation.

We start this by isolating all IRQs initialization code from
the legacy-pc target, pic_init() and spurious IRQ7 registration,
into a new interface: irq_init() from irq.h. Future SoCs will have
to provide their own implementation of this interface.

This model is to be followed by future initialization code that
we may need to add and which is not common to all x86 SoCs.
2015-12-21 08:06:14 -02:00
..
drivers/legacy_pc x86: Move available drivers into drivers/legacy_pc/ 2015-12-21 08:06:14 -02:00
init x86: Isolate SoC specific cpu_init code 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
Makefile.x86_common x86: Add init folder and move code accordingly 2015-12-21 08:06:14 -02:00
Makefile.x86_quarkX1000 x86: Isolate SoC specific cpu_init code 2015-12-21 08:06:14 -02:00