Changed all (I think) files using CRLF to use LF.
Integrates cpu loading library and adds some minor changes. Changes include changes to makefiles, new commands for shell (start_load, stop_load), and new convenience script for iterating while working on the gateway.
Commit adding basic ethernet capability to the GW application - responding to pings. Ethernet driver needs to be activated first with "startNET", this will probably be changed in the future to autoactiva tion (pending discussion about whether the (extremely minor) overhead matters in the benchmarking of CAN GW.)
Commit fixing that threads not cleaning up after themselves. As it turns out, I forgot to uncomment lines detaching the GW threads, so that as they are cancelled they can automatically call clean up handlers. This also fixes related bug, where messages sent to the board after the gw was activated and deactivated, are delivered once gw is activated again. (Unless the whole board was reset in the meantime.)
Initial commit of simple (just forwarding from CAN0 to CAN1 and back) CAN gateway for RTEMS. Built against RTEMS 4.10 git branch. --startGW in RTEMS shell starts the gateway, stopGW stops it. --currently has a bug, where the cancelled threads don't call their cleanup handlers. Probably problem with RTEMS implementation of posix API (wouldn't be the first one, as far as cancellation is concerned.) If needed, this could probably be solved with rewriting it to use RTEMS task instead of posix threads.