osd-contiki/platform
Michael LeMay c815fa4511 x86: Use shared ISR for I2C and GPIO
This patch permits interrupts to be generated by both the I2C and GPIO
controllers for simultaneously-executing applications. The controllers
share a single interrupt pin, INTC. Prior to this patch,
quarkX1000_gpio_init() routed INTA to PIRQC and IRQ 10 (due to an
incorrect assumption that INTA is connected to the GPIO controller),
and quarkX1000_i2c_init() routed INTC to PIRQC and IRQ 9. The I2C
controller initialization is a prerequisite for GPIO initialization,
so the final configuration was that INTA and INTC were both routed to
PIRQC and IRQ 10. Thus, only the GPIO ISR was being invoked, even if
the I2C controller was actually responsible for the interrupt.

This patch refactors the I2C and GPIO ISR setup and handler code so
that the shared portions are combined in
cpu/x86/drivers/legacy_pc/shared-isr.[ch].  The I2C and GPIO drivers
communicate their interrupt information to the shared component by
placing structures in a specific section of the binary.
2016-02-16 21:19:44 -08:00
..
apple2enh Made 80 column display a cc65 application attribute. 2015-10-30 12:42:58 +01:00
atarixl Made 80 column display a cc65 application attribute. 2015-10-30 12:42:58 +01:00
avr-atmega128rfa1 AVR platforms: use 32 bit clock_time_t. 2015-11-28 10:18:22 +01:00
avr-raven AVR platforms: use 32 bit clock_time_t. 2015-11-28 10:18:22 +01:00
avr-ravenlcd Merge pull request #756 from sieben/dos2unix 2015-10-18 20:26:07 +02:00
avr-ravenusb Merge pull request #1344 from tsparber/fix-doxygen 2015-11-30 22:07:15 +01:00
avr-rcb AVR platforms: use 32 bit clock_time_t. 2015-11-28 10:18:22 +01:00
avr-zigbit AVR platforms: use 32 bit clock_time_t. 2015-11-28 10:18:22 +01:00
c64 Added 80 column IRC client / web browser for the C64. 2015-10-30 16:48:00 +01:00
c128 Added 80 column IRC client / web browser for the C64. 2015-10-30 16:48:00 +01:00
cc2530dk Remove documentation references to the Sensinode platform 2016-01-10 15:09:31 +00:00
cc2538dk Adjust READMEs to point explicitly to the arm-gcc version used by travis 2016-01-24 13:59:19 +00:00
cooja x86: Only add elfloader-x86.c to the platforms using it 2015-12-21 08:06:14 -02:00
cooja-ip64 Merge pull request #1344 from tsparber/fix-doxygen 2015-11-30 22:07:15 +01:00
econotag Added ECC functions on elliptic curve secp256r1 2015-09-24 14:11:20 +02:00
ev-aducrf101mkxz Remove unused UIP_CONF_ND6_ defines in platforms 2015-03-24 13:09:29 +01:00
eval-adf7xxxmb4z eval-adf7xxxmb4z: declare node_id only when needed 2015-10-20 10:11:13 +02:00
exp5438 exp5438: do not use char as array index 2015-10-20 10:11:04 +02:00
galileo x86: Use shared ISR for I2C and GPIO 2016-02-16 21:19:44 -08:00
jn516x Merge pull request #1496 from simonduq/pr/jn516x-serial-input 2016-02-04 10:02:15 +01:00
mbxxx Merge pull request #1293 from simonduq/pr/fix-warnings 2015-11-10 08:49:11 +01:00
micaz updated sicslowpan documentation and platform configurations 2016-01-19 15:27:14 +01:00
minimal-net Removed CC_FASTCALL. 2015-11-01 18:10:17 +01:00
native Merge pull request #1293 from simonduq/pr/fix-warnings 2015-11-10 08:49:11 +01:00
seedeye Use ENERGEST_SWITCH to switch between different power modes to improve energest accuracy. 2015-09-04 11:46:00 +02:00
sky Adaptive time synchronization for TSCH 2015-12-07 11:51:41 +01:00
srf06-cc26xx Merge pull request #1453 from g-oikonomou/contrib/test-with-arm-gcc-5 2016-01-25 21:32:28 +01:00
stm32nucleo-spirit1 Added contacts for stm32nucleo-spirit1 platform. 2015-11-25 12:56:42 +01:00
stm32test Network layer configuration: replace UIP_CONF_* with NETSTACK_CONF_WITH_* 2014-12-01 21:02:57 +01:00
win32 Removed CC_FASTCALL. 2015-11-01 18:10:17 +01:00
wismote Merge pull request #1344 from tsparber/fix-doxygen 2015-11-30 22:07:15 +01:00
z1 Adaptive time synchronization for TSCH 2015-12-07 11:51:41 +01:00
zoul Removed PM10 code lines from adc-sensors driver 2016-02-15 14:45:26 +01:00