Newlib的研究与最小实现

Research and Minimum Accomplishment of Newlib

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

     

    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.

     

/

返回文章
返回