Commit Graph

3 Commits

Author SHA1 Message Date
Randall Spangler
e91f327047 Add EcOs RTOS abstraction layer and pthreads implementation
This lets us write modules which don't know the details of the RTOS
objects they use.  More importantly, this lets us target those modules
at either Linux (using the pthread-based implementation in chip_stub)
or actual hardware, so we can write Linux-based unit tests.

BUG=None
TEST=make && ./ec_os_test

Change-Id: I2923b9a48248b27f3bc3b0346d5a870fef8a1c5b
(cherry picked from commit 6ccc37af9fb916f7ad70f542905ba8bacb8e3be2)
2011-10-21 15:14:07 -07:00
Randall Spangler
2b3bef7968 Revised header files and moved in current implementation.
BUG=None
TEST=cd cros_ec && make

Change-Id: Ieac6a131f0aef0f8f3343d4f3cd9fba5a211bc09
2011-10-17 14:59:01 -07:00
Louis Yung-Chieh Lo
2266c2119e Initial commit 2011-10-15 00:17:08 +08:00