Hardware-assisted virtualization extensions for LEON processors in mixed-criticality systems

The increasing complexity of real-time embedded critical systems has driven the adoption of new methodologies to mitigate high development costs. One of the most common approaches is the implementation of mixed-criticality systems, characterized by integrating applications with different levels of c...

Full description

Bibliographic Details
Authors: Losa Cruz, Borja|||0000-0003-4748-6944, Parra Espada, Pablo|||0000-0002-4242-8297, Da Silva Fariña, Antonio|||0000-0002-3737-743X, Rodríguez Polo, Óscar|||0000-0002-7893-4247, García Tejedor, Juan Ignacio|||0000-0003-1397-5950, Martínez Hellín, Agustín|||0000-0002-5600-9253, Sánchez Prieto, Sebastián|||0000-0002-6729-7932, Guzmán García, David
Format: article
Publication Date:2025
Country:España
Institution:Universidad de Alcalá (UAH)
Repository:e_Buah Biblioteca Digital Universidad de Alcalá
Language:English
OAI Identifier:oai:ebuah.uah.es:10017/65214
Online Access:http://hdl.handle.net/10017/65214
https://dx.doi.org/10.1016/j.micpro.2024.105130
Access Level:Open access
Keyword:Hardware assisted virtualization
Full virtualization
On-board systems
LEON processor
Informática
Computer science
Description
Summary:The increasing complexity of real-time embedded critical systems has driven the adoption of new methodologies to mitigate high development costs. One of the most common approaches is the implementation of mixed-criticality systems, characterized by integrating applications with different levels of criticality on the same processing unit. In these systems, applications run on a separation kernel hypervisor, a software element that controls the execution of the different operating systems, providing a virtualized environment and ensuring the necessary spatial and temporal isolation. This paper presents the design and implementation of hardware virtualization extensions for LEON processors, whose use is widespread in the field of space systems. These extensions enable the execution of virtualized applications with minimal transitions to the hypervisor, enhancing system performance. Our proposed solution defines a specific execution mode and duplicates control and status registers for the exclusive use of virtualized applications. In addition, the functionality of the hardware and software interrupt signals has been extended, allowing developers to select which ones are handled by the hypervisor and which ones by the guest operating systems directly. We have implemented the proposed extension using the LEON version 3 processor?s original VHDL code, and validated it using exhaustive tests to evaluate performance and resource consumption. The results show that the proposed modifications allow virtualized applications to execute without hypervisor intervention, matching the performance when non-virtualized while significantly outperforming existing para-virtualization solutions. Resource consumption increases by 6% to 14%, depending on the FPGA, which is low when compared to available resources. Power consumption increases by only a few milliwatts, which can be considered negligible.