DOI QR코드

DOI QR Code

The Design and Implementation of EL/LX level3 C Standard Library for RTOS Qplus-P

EL/IX 단계 3을 적용한 실시간 운영체제 Qplus-P용 C 표준 라이브러리의 설계 및 구현

  • 김도형 (한국전자통신연구원 컴퓨터소프트웨어기술연구소) ;
  • 신창민 (한국전자통신연구원 정보가전연구부) ;
  • 박승민 (한국전자통신연구원 컴퓨터 소프트웨어기술연구소)
  • Published : 2002.12.01

Abstract

As the products of internet appliance, such as digital TV, internet set-top box, and internet phone, are continually produced, the market of real time operating system which controls those products is being highly increased. ETRI developed the extensible real time operating system, Qplus-P, which can be used from PDA to internet set-top box and home server. This paper describes the design and implementation of C standard library for real-time operating system Qplus-P. The Qplus-P C standard library follows EL/IX API level, which is proposed to the real-time operating system international standard by the RedHat. And, the C standard library functions, which are needed to support the Tiny-X and Kaffe, are also implemented. The implemented C standard library can reduce the size of library about 30% compare to the C library that does not follow EL/IX API level.

디지털 TV, 인터넷 셋탑박스, 인터넷 전화기 등과 같은 정보가전 제품이 속속 등장하면서 이들 제품의 기능을 제어하는데 필수적인 실시간 운영체제 시장이 크게 성장하고 있다. 한국전자통신연구원에서는 소형의 휴대 정보 단말에서부터 디지털 셋탑박스 및 홈 서버까지 다양한 종류의 정보가전 기기에 공통으로 사용될 수 있는 확장 가능한 표준 실시간 운영체제 Qplus-P를 개발하였다. 본 논문에서는 정보가전용 실시간 운영체제 Qplus-P에 탑재되는 C표준 라이브러리의 설계 및 구현에 대해 기술한다. Qplus-PC표준 라이브러리는 레드햇에서 실시간 운영체제 국제 표준으로 제안된 EL/LX 응용 프로그램 인터페이스 단계에 따라 설계되었다. 그리고 Qplus-P 응용 프로그램 수행에 필요한 Tiny-X, 카페 등을 지원하기 위해 추가적으로 필요한 함수들도 구현되었다. 구현된 C표준 라이브러리는 EL/IX 응용프로그램 인터페이스 단계를 적용하지 않은 C표준 라이브러리보다 라이브러리 크기를 30% 정도 줄일 수 있었다.

Keywords

References

  1. Nick Gamett, 'EL/IX Base API Specification DRAFT-V1.2,' Sep., 2000
  2. 한국전자통신연구원, '정보가전용 실시간 운영체제 컨퍼런스', RTOS'99 자료집, 1999
  3. 한국전자통신연구원, '정보가전용 실시간 운영체제 컨퍼런스', RTOS 2000 자료집, 2000
  4. 한국전자통신연구원, '인터넷정보가전기술개발 워크샵 자료집'. 2001
  5. ISO/IEC 9945-1, 'C 언어를 위한 시스템 응용 프로그래밍 인터페이스(API) 표준', 1993
  6. 체신부, '개방형 운영체제 인터페이스(POSIX.1) 표준', 1993
  7. 'VxWorks 5.3.1 Programmer's Guide Edition 1,' Wind River Systems, 1997
  8. 'VxWorks Training Workshop,' Wind River Systems, 1996
  9. 'pSOSystem Programmer's Reference,' Integrated Systems, 1997
  10. 'VTRX Reference Guide,' Mentor Graphics Corporation, 1997
  11. Brian W. Kernighan, Dennis M. Ritchie, 'The C Programming Language,' Prentice Hall, 1988
  12. W. Richard Stevens, 'Advanced Programming in the UNIX Environment.' Addison-Wesley Publishing Company, 1992
  13. Narayanan AK, 'Design of a safe string library for C,' Software-Practice & Experience, Vol.24, No.6, pp.565-578, June, 1994 https://doi.org/10.1002/spe.4380240604
  14. Plauger PJ. 'Embedded C++,' Embedded Systems Programming, Vol.9, No.12, pp.125-126, Nov., 1996
  15. Woehr JJ. 'A C++ library for IBM MQSeries,' Dr. Dobb's Journal, Vol.25, No.7, pp,52-55, July, 2000
  16. Lee Jin S., Hayati Samad, Hayward Vincent, and Lloyd John E, 'IMPLEMENTATION OF RCCL, A ROBOT CONTROL C LIBRARY ON A MICROVAX II,' Proceedings of SPIE- The International Society for Optical Engineering, Vol.726, pp.472-480, 1987 https://doi.org/10.1117/12.937763