×

Newlib的研究与最小实现

消耗积分:5 | 格式:rar | 大小:322 | 2009-02-23

孙成红

分享资料个

对嵌入式C运行库—— newlib进行了深入研究,阐述了该运行库在多任务环境下可重入性的实现方法;介绍了移植newlib到嵌入式系统上需要的桩函数及其实现方法,并重点介绍了与I/O相关的四个桩函数open、close、read和write的实现方法,以及动态内存分配器malloc的两种实现方法。
关 键 词 嵌入式系统; C运行库; 可重入性; 桩函数

Abstract This article has a research on a embedded C Runtime Library: newlib. It presents the way to accomplish the reentry of newlib under multi-task environment. It introduces stub functions implementation which is needed by porting newlib on embedded system, especially open, close, read and write implementation which relate with I/O, and malloc two implementation ways.
Key words embedded system; newlib; c runtime library; reentry; stub

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(1)
发评论
szx 2011-04-09
5 回复 举报
不错 收起回复

下载排行榜

全部1条评论

快来发表一下你的评论吧 !