Create a git so we can merge before sync with Gabe's code
Implemented a new intelligent waking up scheme in the tmem manager.

The new waking up procedure is: 1) low thread release the lock, then
wake up the highest thread, which is the last one on the block
list. 2) the highest thread wake up the rest ones on the block list,
without releasing the lock.

A epoch counter is added to determine whether a thread should be wake
up by the current thread.

Some other fix: fixed the priority of the timer thread in timed event
component. fixed the priority issue in the synth hier component.
Merge branch 'master' of https://github.com/songjiguo/rtss_tmp

Conflicts:
	src/components/implementation/exe_cbuf_synth_hier/exe_cbuf_shrec/exe_cbuf_synth_hier.c
	src/components/implementation/no_interface/exe_cbuf_periodic/exe_cbuf_periodic.c
	src/components/include/cbuf.h
	src/components/interface/cbuf_c/cbuf_vect.h
Merge branch 'master' of https://github.com/interwq/Composite

Conflicts:
	src/components/implementation/cbuf_c/naive/cbuf.c
	src/components/interface/cbuf_c/cbuf_vect.h
Removed some test components that are not working.
Added micro benchmark for cbuf_alloc/cbuf2buf/cbuf_free
Added micro benchmark for cbuf PIP
update: remove all revocery and micro_pong_lower
Added context switch micro benchmark
Added cbuf pip micro benchmark
Merge remote branch 'origin/master'

Conflicts:
	src/components/implementation/mem_mgr/naive/mem_man.c
	src/components/implementation/sched/base_case/base_case.c
	src/components/implementation/sched/cos_sched_base.c
	src/components/interface/sched/stubs/s_stub.S
one missing unlikely when merge
git add micro_cs
Fixed some bugs in Tmem. Updated the tmem script and the python script
that is used to generate random scripts.
Merge branch 'master' of https://github.com/songjiguo/rtss_tmp
Clean up code.
Update the python script.
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
Merge pull request #9 from interwq/master

Updated code for RTSS 2012 experiments