acrn-hypervisor/hypervisor
Huihuang Shi ddb548367a hv: cpu: fix "Procedure has more than one exit point"
IEC 61508,ISO 26262 standards highly recommend single-exit rule.

Reduce the count of the "return entries".
Fix the violations which is comply with the cases list below:
1.Function has 2 return entries.
2.The first return entry is used to return the error code of
checking variable whether is valid.

Fix the violations in "if else" format.

Tracked-On: #861
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-12-03 11:10:04 +08:00
..
arch/x86 hv: cpu: fix "Procedure has more than one exit point" 2018-12-03 11:10:04 +08:00
boot modularization: boot component -- move functions 2018-12-03 09:09:44 +08:00
bsp modularization: boot component 2018-12-03 09:09:44 +08:00
common modularization: boot component 2018-12-03 09:09:44 +08:00
debug HV: allow disabling serial port via Kconfig 2018-11-30 15:00:05 +08:00
dm hv: fix type conversion violations 2018-11-30 18:14:59 +08:00
include hv: remove unused flags related APIs in sbuf 2018-12-03 09:10:11 +08:00
lib hv: add brackets to make operator expression more readable 2018-11-29 11:10:22 +08:00
partition HV: Adding partition mode support for cb2_dnv 2018-11-21 15:21:37 +08:00
release hv: clean up function definitions in profiling.h 2018-11-28 14:57:49 +08:00
scripts kconfig: use defconfig instead of default values in silentoldconfig 2018-10-30 10:49:12 +08:00
Kconfig
MAINTAINERS
Makefile modularization: boot component -- move functions 2018-12-03 09:09:44 +08:00
README.rst Documentation: clean-up of isolated README.rst files 2018-11-20 11:09:53 -08:00

README.rst

ACRN Hypervisor
###############

The open source `Project ACRN`_ defines a device hypervisor reference stack and
an architecture for running multiple software subsystems, managed securely, on
a consolidated system by means of a virtual machine manager. It also defines a
reference framework implementation for virtual device emulation, called the
“ACRN Device Model”.

The ACRN Hypervisor is a Type 1 reference hypervisor stack, running directly on
the bare-metal hardware, and is suitable for a variety of IoT and embedded
device solutions. The ACRN hypervisor addresses the gap that currently exists
between datacenter hypervisors, and hard partitioning hypervisors. The ACRN
hypervisor architecture partitions the system into different functional
domains, with carefully selected guest OS sharing optimizations for IoT and
embedded devices.

You can find out more about Project ACRN on the `Project ACRN documentation`_
website.

.. _`Project ACRN`: https://projectacrn.org
.. _`ACRN Hypervisor`: https://github.com/projectacrn/acrn-hypervisor
.. _`Project ACRN documentation`: https://projectacrn.github.io/