osd-contiki/cpu/x86/init/common
Michael LeMay 128d9f3566 x86: Revise SET_INTERRUPT_HANDLER to avoid using inline assembly feature that does not work with LLVM Clang
The SET_INTERRUPT_HANDLER macro in interrupt.h used an inline assembly
feature to cause GCC to generate a unique number for a trampoline
label.  Clang compiled the code using that feature without generating
any compile-time errors, but it always generated the number 0,
resulting in all interrupt trampolines having the same label names.
This patch replaces the usage of that feature with local labels, which
are supported by both GCC and Clang.  See
https://sourceware.org/binutils/docs/as/Symbol-Names.html for an
explanation of local labels.
2015-12-21 08:06:14 -02:00
..
cpu.c x86: Isolate SoC specific cpu_init code 2015-12-21 08:06:14 -02:00
cpu.h x86: Add init folder and move code accordingly 2015-12-21 08:06:14 -02:00
gdt.c x86: Refactor GDT initialization code 2015-12-21 08:06:14 -02:00
gdt.h x86: Add init folder and move code accordingly 2015-12-21 08:06:14 -02:00
idt.c x86: Add init folder and move code accordingly 2015-12-21 08:06:14 -02:00
idt.h x86: Add init folder and move code accordingly 2015-12-21 08:06:14 -02:00
interrupt.h x86: Revise SET_INTERRUPT_HANDLER to avoid using inline assembly feature that does not work with LLVM Clang 2015-12-21 08:06:14 -02:00
irq.h x86: Isolate SoC specific cpu_init code 2015-12-21 08:06:14 -02:00