摘要: 驱动程序的不稳定是造成操作系统内核崩溃的主要原因,该文采用类型安全的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
中图分类号:
陈 善;周玲玲;应忍冬;戈 弋. 基于内核态JVM的Linux设备驱动程序[J]. 计算机工程, 2008, 34(18): 93-95.
CHEN Shan; ZHOU Ling-ling; YING Ren-dong; GE Yi. Linux Device Driver Based on Kernel-mode JVM[J]. Computer Engineering, 2008, 34(18): 93-95.