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

CN114116024APending Publication Date: 2022-03-01BEIJING SMARTCHIP MICROELECTRONICS TECH COMPANY +3
7 Cites 2 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2022-03-01

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention provides an embedded operating system-oriented peripheral drive processing method, a virtual machine and a system, belongs to the technical field of embedded operating systems, and solves the problems that in the prior art, the coupling among various peripheral device drives is relatively high, and when a drive program goes wrong, the operating system is easy to crash. The method comprises the following steps: acquiring to-be-processed information, wherein the to-be-processed information comprises an identifier of an information subscriber; and sending the to-be-processed information to a corresponding information subscriber according to the identifier. The embodiment of the invention is suitable for the peripheral drive processing process in the embedded operating system.
Need to check novelty before this filing date? Find Prior Art

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 ...