Peripheral drive processing method for embedded operating system, virtual machine and system
A technology of operating system and processing method, applied in the field of embedded operating system, can solve the problems of operating system crash and high driver coupling
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2022-03-01
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the technical field of embedded operating systems, in particular to a peripheral drive processing method for embedded operating systems, a virtual machine and a system. Background technique
[0002] A device driver (referred to as a device driver) is a bridge between a hardware device and an application program. Peripherals (abbreviated as peripherals) are hardware devices in embedded systems, usually connected to embedded processors through peripheral buses such as SPI, I2C, USB, SDIO, and MIPI. The peripheral device drivers of the current embedded system usually run in the kernel of the embedded processor together with the operating system kernel, and the coupling between various peripheral device drivers is high. Once there is a problem with the driver, it is easy to cause the entire operation system breakdown. Contents of the invention
[0003] The purpose of the embodiments of the present invention is to provid...
Examples
Embodiment Construction
[0038] The specific implementation manners of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation manners described here are only used to illustrate and explain the embodiments of the present invention, and are not intended to limit the embodiments of the present invention.
[0039] Embedded operating systems and embedded processors in the prior art lack uniform standards, and for device driver developers, the programming differences are very large. For example, Linux and LiteOS have very different programming in how to create threads, how to access files, and so on. Another example is the programming difference between Qualcomm Snapdragon series SoC and Samsung Orion series SoC in pin multiplexing, DMA (DirectMemory Access, direct memory access) operation and other aspects.
[0040]In the existing embedded operating system, extended function modules ...