http://blog.sina.com.cn/s/blog_bb8f36e60101qu7s.html
可以参考一下这篇文章,也许对你有帮助
这里有移植好的。
http://www.myir-tech.com/bbs/thread-7583-1-1.html