]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: basic inmates demos
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Thu, 7 Aug 2014 12:34:38 +0000 (13:34 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Sat, 27 Dec 2014 11:43:46 +0000 (12:43 +0100)
commit9ee8e1418938960e756979290b4de7e1308efa42
tree14fb8624acdb91a704eb9ea93a3d58ae90aeff72
parentf6fd334fcd2da0a2aa5882559a2952e7f67fe5a4
arm: basic inmates demos

This patch adds the necessary libraries for writing simple inmates on arm,
and provides two demos.
It attempts to use the same layout as x86, and allows to set the devices
base addresses with platform-specific includes, in order to avoid
including kconfig.h

Only the vexpress platform with GICv2 and GICv3 is supported for the
moment.

Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
[Jan: Use config.mk instead of kbuild, use mmio accessors,
      avoid integer overflow, add copyright headers]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
18 files changed:
Kbuild
inmates/demos/arm/Makefile
inmates/demos/arm/gic-demo.c [new file with mode: 0644]
inmates/demos/arm/uart-demo.c [new file with mode: 0644]
inmates/lib/arm/Makefile.lib [new file with mode: 0644]
inmates/lib/arm/gic-v2.c [new file with mode: 0644]
inmates/lib/arm/gic-v3.c [new file with mode: 0644]
inmates/lib/arm/gic.c [new file with mode: 0644]
inmates/lib/arm/header.S [new file with mode: 0644]
inmates/lib/arm/include/inmates/gic.h [new file with mode: 0644]
inmates/lib/arm/include/inmates/inmate.h [new file with mode: 0644]
inmates/lib/arm/include/mach-vexpress/mach/gic_v2.h [new file with mode: 0644]
inmates/lib/arm/include/mach-vexpress/mach/gic_v3.h [new file with mode: 0644]
inmates/lib/arm/include/mach-vexpress/mach/timer.h [new file with mode: 0644]
inmates/lib/arm/include/mach-vexpress/mach/uart.h [new file with mode: 0644]
inmates/lib/arm/inmate.lds [new file with mode: 0644]
inmates/lib/arm/printk.c [new file with mode: 0644]
inmates/lib/arm/uart-pl011.c [new file with mode: 0644]