rtos: add support for ChibiOS/RT 3.0
authorChristian Gudrian <christian.gudrian@gmx.de>
Tue, 21 Oct 2014 20:23:40 +0000 (22:23 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 24 Nov 2014 22:21:47 +0000 (22:21 +0000)
commit8b99681346c71b7fa6358bf79becaaecb6151f4a
treeb10e9ad3df753bc2efe4f0620b0da21abbaf538f
parent6d562283b5191fc3949894cd49f767fc299ca404
rtos: add support for ChibiOS/RT 3.0

In ChibiOS/RT 3.0 the ready list pointer "rlist" is now part of the system
data structure. Since the ready list is the first element in that
structure it can be accessed via the structure's symbol "ch".

Change-Id: Idc7eaa87cb7bbad0afa0ff1dafd54283bf429766
Signed-off-by: Christian Gudrian <christian.gudrian@gmx.de>
Reviewed-on: http://openocd.zylin.com/2352
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/rtos/ChibiOS.c