计算机工程 ›› 2008, Vol. 34 ›› Issue (18): 93-95.doi: 10.3969/j.issn.1000-3428.2008.18.033

• 软件技术与数据库 • 上一篇    下一篇

基于内核态JVM的Linux设备驱动程序

陈 善1,周玲玲1,应忍冬1,戈 弋2   

  1. (1. 上海交通大学电子工程系,上海 200240;2. IBM中国研究院,北京 100094)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-09-20 发布日期:2008-09-20

Linux Device Driver Based on Kernel-mode JVM

CHEN Shan1, ZHOU Ling-ling1, YING Ren-dong1, GE Yi2   

  1. (1. Dept. of Electronic Engineering, Shanghai Jiaotong University, Shanghai 200240; 2. IBM China Research Lab, Beijing 100094)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-09-20 Published:2008-09-20

摘要: 驱动程序的不稳定是造成操作系统内核崩溃的主要原因,该文采用类型安全的Java语言开发Linux设备驱动程序以提高系统的稳定性,并分析驱动模型的结构、内核态Java虚拟机(JVM)的设计以及Java驱动程序的编写。USB网卡的测试验证了Java驱动在提高系统稳定性上的优势。

关键词: Java虚拟机, 设备驱动程序, 可靠性

Abstract: The buggy codes of device drivers usually account for most of the OS kernel crashes. This paper proposes a prototype of writing Linux device drivers in the type-safe language of Java, which effectively improves the system reliability, analyzes framework of Java device driver prototype, design of kernel-mode Java Virtual Machine(JVM) and writing of Java device driver program. USB Ethernet drivers test shows Java device drivers’ advantage in improving system reliability.

Key words: Java Virtual Machine(JVM), device driver, reliability

中图分类号: