Added the evt_split function to the event interface, a new
edge-triggered event manager that is simpler, and provides a better
interface for waiting on multiple events, and changed the runscripts
to use it.

Specifically: When a new event is created, you must specify (using
evt_split) which other event is this new event's parent, and if this
event is a "group" or a normal event.  Group events can have new
events split off of them, and we can wait on the group.  This will
yield wait returning the event id of the child event that triggered
the event.  A tree of these groups can be defined.

Warning: The asymtotic complexity of these calls is proportionate to
the _depth_ of the group hierarchy.
Removed warnings from the build system when using compiler
optimizations.  This included both compiler warnings and some
incomplete dependency warnings.

Added to the FAQ for ways to fix this in the future.
the networking stack now exports the torrent interface
Merged Qi's patch to 1) do proper and parallel-safe stack acquisition
in the hijack path, and 2) to fix the page-table copying bug to
include the highest mapping which is used for ACPI on multicore
machines.
1) Fixed nasty bug on system exit: memory was being freed incorrectly
causing random system/application crashes, and 2) torrentified the
rest of the networking stack.

1) I was freeing pages back to linux using __free_pages.  That
function assumed it was taking a struct page as an argument.  Whoops.
Now using free_pages.  Fun to debug that one.

2) The TCP->IP and IP->netif interactions are all now torrentified.
Currently we are reallocating cbufs at each invocation level for tmem.
This should be changed in the future to pass cbufs that have not been
modifed on to the next level without reallocation.
added the asynchronous connection component, but it is _not_ tested
Added a multi-threaded server that has different priorities for
different ports.

1) created the torrent_sconn_mt component.
2) separated the periodic_wake interface into the normal and the
lateness reporting functionality so that the torrent_sconn_mt
component can export the reporting functionality.
3) added fine-grained synchronization to the http component.
4) fixed a bunch of small bugs
Large commit focusing on synchronization/dependency fixes.

- First load tests with the multi-threaded server that uncovered quite
  a few errors.  Required a complete rewrite of the client-side lock
  code to be 1) compiler friendly, and 2) use actual atomic
  instructions.

- Fixed the synchronization in the torrentified networking stack.

- Updated some ioctls to 2.6.36...hopefully this doesn't break 2.6.33.
1) Added CBUFM_MAPPED_IN flag in cbuf meta to help the inconsistency
   check when cbuf2buf happens

   CBUF_MAPPED_IN is used to deal with the following situation:

   A mapped cbuf accidentally matches the previous left old descriptor
   (e.g., allocated before then freed. And now both cbid and address
   are same) in a component.  The component thought the cbuf was
   eligible to allocate again -- lead to inconsistency

2) Clean up and reorgonize the implementation/tests. Added micro_stack
Merge branch 'master' of github.com:gparmer/Composite

Conflicts:
	src/components/implementation/cbuf_c/naive/cbuf.c
	src/components/implementation/no_interface/connector/Makefile
	src/components/implementation/sched/base_case/base_case.c
	src/components/implementation/sched/cos_sched_base.c
	src/components/implementation/tests/unit_cbuf1/Makefile
	src/components/implementation/tests/unit_cbuf2/Makefile
	src/components/implementation/tests/unit_translator/Makefile
	src/components/interface/sched/stubs/s_stub.S
	src/kernel/include/shared/cos_config.h
Merge branch 'master' of https://github.com/gparmer/Composite

This includes the code for RTSS 2012. The synth_hier experiments are based on this code. Everything in the experiments looks good. Need to merge with Gabe and Jiguo's code for the webserver tests.

Conflicts:
	src/components/implementation/cbuf_c/naive/cbuf.c
	src/components/implementation/no_interface/connector/Makefile
	src/components/implementation/sched/base_case/base_case.c
	src/components/implementation/sched/cos_sched_base.c
	src/components/implementation/tests/unit_cbuf1/Makefile
	src/components/implementation/tests/unit_cbuf2/Makefile
	src/components/implementation/tests/unit_translator/Makefile
	src/components/interface/sched/stubs/s_stub.S
Solved a problem that was caused by the wake_cnt. Before in the tmem
code the current thd need to wake up itself if thd dependency didn't
work. Now in the scheduler code the pre_wakeup is done automatically
if there's something wrong with the dependency. Thus no need to wake
up itself anymore.

Merge branch 'master' of https://github.com/songjiguo/rtss_tmp

Conflicts:
	src/components/implementation/cbuf_c/naive/cbuf.c
	src/components/implementation/no_interface/tmem_policy/tmem_policy.c
	src/components/implementation/sched/cos_sched_base.c
	src/components/implementation/tests/micro_ping_cbuf/Makefile
	src/components/implementation/tests/micro_ping_cbuf/micro_ping.c
	src/components/implementation/tests/micro_pong_cbuf/Makefile
	src/components/implementation/tests/micro_pong_cbuf/micro_pong.c
	src/components/implementation/tests/unit_cbuf1/Makefile
	src/components/implementation/tests/unit_cbuf2/Makefile
	src/components/implementation/tests/unit_translator/Makefile
	src/components/include/cbuf.h
	src/components/interface/sched/stubs/s_stub.S
	src/kernel/include/shared/cos_config.h