add libcpu/sim/posix/cpu_port.c
add bsp: simluator for linux
add some comments and clean code in cpu_port.c
re-write the rt_hw_interrupt_enable/disable
add finsh, but still cannot work, only can be built with gcc
surport finsh
add gcc.ld
rewrite cpu_port.c (but still has bug)
fix bug in cpu_port.c(can work very well)
clean code in cpu_port.c, add some comments
Add RT_MTD_ESRC definitions.

Add RT_MTD_ESRC definitions. If the source page has issue when copying a page, the low level can return this error code.
recover the terminal's behaviour when runing exit in finsh
add DAP define
handle standard request to interface that defined in class
Merge pull request #13 from heyuanjie87/ForPullRequest

handle standard request to interface that defined in class
修正字符串描述符超长的问题
fixed the string descriptor send to host more than actual
more deterministic on timer

If two timer will timeout at the same tick, the one started later will
be called later. I've tested the patch on simulator and it _seems_ OK.

Reported-by: xdzy on the forum and delin17 <delin17@qq.com>
Merge pull request #16 from grissiom/fix-timer

more deterministic on timer
add new code