Hi,
this series allows us to load inmates to arbitrary locations.
Therefore, I extended struct cell by an entry point. By default, this entry
will default to zero, and current behaviour does not change.
No x86 support at the moment.
Additionally, this series implements a new config flag CONFIG_BARE_METAL, which
allows for booting inmates directly on ARM, e.g. via u-boot, without jailhouse
and without Linux. This is useful, if we want to compare behaviour of inmates
with pure bare-metal applications.
There is no documentation at the moment. I'm going to add documentation, if
this series is accepted.
Tested on a TK1, TX1, and LeMaker HiKey.
Ralf
Ralf Ramsauer (5):
inmates: arm, arm64: compile arm linker script
inmates: arm: make inmates compile-time relocatable
arm: allow dynamic entry point switch
inmates: arm-common: enable GICD_CTLR
inmates: arm: add empty definition for heartbeat in bare-metal case
.gitignore | 2 ++
hypervisor/arch/arm-common/control.c | 2 +-
hypervisor/include/jailhouse/cell-config.h | 4 +++-
inmates/Makefile | 2 +-
inmates/lib/arm-common/gic-v2.c | 3 +++
inmates/lib/arm/Makefile | 2 +-
inmates/lib/arm/include/arch/inmate.h | 4 ++++
inmates/lib/arm/{inmate.lds => inmate.lds.S} | 10 ++++++++--
inmates/lib/arm64/Makefile | 2 +-
inmates/lib/arm64/include/arch/inmate.h | 4 ++++
inmates/lib/arm64/{inmate.lds => inmate.lds.S} | 10 ++++++++--
tools/jailhouse-cell-linux | 2 +-
tools/jailhouse-hardware-check | 2 +-
13 files changed, 38 insertions(+), 11 deletions(-)
rename inmates/lib/arm/{inmate.lds => inmate.lds.S} (83%)
rename inmates/lib/arm64/{inmate.lds => inmate.lds.S} (80%)
--
2.12.2
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.