Inmate cell configurations all look alike - more or less.
Let's create a couple of header files to hide the fastidious stuff
(structure field names and so on) so that .c cell configuration files
look a bit less ugly.
v1 -> v2:
- Convert an existing cell to see the impact of the helper files
(suggested by Jan)
- Add PCI and Console helpers (needed for inmate cell conversion
example)
v2 -> v3:
- Get rid of the *_NUM macros in config files and have them computed
instead (suggested by Ralf)
Feedback is always welcome - and much appreciated.
BR,
Stephane.
Stephane Viau (2):
[RFC] configs: Introduce helper files to create inmate cell config
[RFC] configs: imx8mp: Convert a cell using helper files
configs/arm64/cell-create.h | 75 ++++++++++++++
configs/arm64/cell-helper.h | 108 +++++++++++++++++++
configs/arm64/cell-template.c | 48 +++++++++
configs/arm64/imx8mp-inmate-demo.c | 161 ++++++++---------------------
4 files changed, 276 insertions(+), 116 deletions(-)
create mode 100644 configs/arm64/cell-create.h
create mode 100644 configs/arm64/cell-helper.h
create mode 100644 configs/arm64/cell-template.c
--
2.34.0
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/20211202154800.2671-1-stephane.viau%40oss.nxp.com.