Method, device and equipment for realizing GPIO (General Purpose Input/Output) controller supporting virtualization
The invention discloses a method, a device and equipment for realizing a GPIO (General Purpose Input/Output) controller supporting virtualization, and relates to the technical field of communication control, the method comprises the following steps of: carrying out hardware isolation on GPIOs corres...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a method, a device and equipment for realizing a GPIO (General Purpose Input/Output) controller supporting virtualization, and relates to the technical field of communication control, the method comprises the following steps of: carrying out hardware isolation on GPIOs corresponding to a safgpiounit, and carrying out virtualization mapping on registers in 4k domains with the same number based on the number of GPIOs corresponding to a next group of registers of a GPIO controller; based on the number of GPIOs and the number of GICs, the address space of GPIOs is cut into 4k domains with the set number; the first number of 4k domains are distributed to the internal reg of each GPIO, and the second number of 4k domains are distributed to each GIC. According to the method and the device, the problem of access conflict of multiple operating systems to the same GPIO controller can be solved, and the interruption grouping is ensured to be flexible and configurable.
本发明公开了一种支持虚拟化的GPIO控制器实现方法、装置 |
---|