講演名 2001/6/21
組み込み用OS『開聞』のMIPSプロセッサへの移植
堀口 努, 萱嶋 志門, 並木 美太郎,
PDFダウンロードページ PDFダウンロードページへ
抄録(和) 近年, 組込みシステムでもソフトウエアの規模が大きくなってきており, プログラムの再利用性が要求されるようになった. しかし, 組込みシステムでは様々なCPUが用いられており, 例外処理方式などの違いが組込み用OSの再利用性を低下させる要因となっている. 本論文では, PowerPC403GAで動作していた組込み用OS『開聞』をMIPSプロセッサに移植することにより, 組込みシステムのOS本体とアプリケーションの再利用性を向上するための検討を行った. 『開聞』は, タスク管理部, 割込み管理部, システムコール部から構成され, CPU依存部分と独立部分が混在する. タスク管理部では主に, タスク生成時におけるTCBのエントリポインタや, ステータスレジスタ等の各種パラメータ設定処理, タスクのスタック確保処理等をMIPS用に改変した. また, MIPSプロセッサの例外処理を, 例外ベクタと例外ハンドラを対応付け, 例外へクタテーブルで管理することで, ユーザによる性能トレードオフの選択を容易にした. 移植した結果, 例外管理部のシステムコールはCPU依存であり, タスク管理部のシステムコールに移植性を持たせることができた. ソースコードの59.6%がCPU独立部分であり, 40.4%がCPU依存部分であった. また, CPU依存部分の42.0%がアセンブリ言語であった.
抄録(英) In recent years, as softwares are more complex and larger scales in embedded systems, they are demanded to be portable. But many kinds of processors are used in enbedded sysutems and it causes to lost portability of embedded operating systems. In this paper, Porting "Kaimon" to the MIPS processor and considering how to improve portability of embedded OS and its aplications. "Kaimon" is composed of 3 parts which are task management, interrupt management and systemcalls. In task management, TCB parametors and securing stack managements were need to exchange. Managing MIPS interrupt by InterruptVectorTable made easy of selecting the paformance trade-off. A result of porting to MIPS processor, systemcalls of interrupt managements depend on CPU. But sytemcalls of task management are indipendent of CPU. 59.6% of source code is depend on CPU and 40.4% is independent of CPU. And 42.0% of a part of depending on CPU is written in assembly language.
キーワード(和)
キーワード(英)
資料番号 CPSY2001-21
発行日

研究会情報
研究会 CPSY
開催期間 2001/6/21(から1日開催)
開催地(和)
開催地(英)
テーマ(和)
テーマ(英)
委員長氏名(和)
委員長氏名(英)
副委員長氏名(和)
副委員長氏名(英)
幹事氏名(和)
幹事氏名(英)
幹事補佐氏名(和)
幹事補佐氏名(英)

講演論文情報詳細
申込み研究会 Computer Systems (CPSY)
本文の言語 JPN
タイトル(和) 組み込み用OS『開聞』のMIPSプロセッサへの移植
サブタイトル(和)
タイトル(英) Porting "KAIMON" Embedded Operating System to the MIPS Processor Architecture
サブタイトル(和)
キーワード(1)(和/英)
第 1 著者 氏名(和/英) 堀口 努 / Tsutomu Horiguchi
第 1 著者 所属(和/英) 東京農工大学大学院工学研究科
Tokyo University of Agriculture and Technology
第 2 著者 氏名(和/英) 萱嶋 志門 / Shimon Kayashima
第 2 著者 所属(和/英) 東京農工大学大学院工学研究科
Tokyo University of Agriculture and Technology
第 3 著者 氏名(和/英) 並木 美太郎 / Mitarou Namiki
第 3 著者 所属(和/英) 東京農工大学大学院工学研究科
Tokyo University of Agriculture and Technology
発表年月日 2001/6/21
資料番号 CPSY2001-21
巻番号(vol) vol.101
号番号(no) 151
ページ範囲 pp.-
ページ数 8
発行日