author | Ralf Ramsauer <ralf.ramsauer@oth-regensburg.de> | |
Wed, 27 Jun 2018 14:17:45 +0000 (16:17 +0200) | ||
committer | Jan Kiszka <jan.kiszka@siemens.com> | |
Thu, 5 Jul 2018 09:55:03 +0000 (11:55 +0200) | ||
commit | 37c7b05b217d485eb2bbbc3a48693f669500a40d | |
tree | 368168efe34ee7a9d01ef528bc90ce398cb9e57b | tree | snapshot (tar.xz tar.gz zip) |
parent | 083cec46646b616b28cfba2c81786a988dc79249 | commit | diff |
core: Rework struct jailhouse_console
At the moment, the particular driver as well as its parameters are
encoded in the flags member of struct jailhouse_console.
Split it up in a type and a flags member. The type field selects the
particular driver, and the flags field annotates special options.
This not only makes configuration inside configuration files more clear,
it also saves fiddling around with bitmasks.
Instead of encoding the virtual console inside the flags field, encode
it in the global flags field. The virtual console is not a parameter for
a debug_console, like UART, it's rather a property of the whole cell.
This patch also renames JAILHOUSE_CON2_TYPE_ROOT_PAGE to
the JAILHOUSE_SYS_VIRTUAL_DEBUG_CONSOLE.
This patch
- splits flags in type & flags in struct jailhouse_console
- updates all system configurations
- aligns the root cell config template
Patch for documentation will follow.
Signed-off-by: Ralf Ramsauer <ralf.ramsauer@oth-regensburg.de>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
At the moment, the particular driver as well as its parameters are
encoded in the flags member of struct jailhouse_console.
Split it up in a type and a flags member. The type field selects the
particular driver, and the flags field annotates special options.
This not only makes configuration inside configuration files more clear,
it also saves fiddling around with bitmasks.
Instead of encoding the virtual console inside the flags field, encode
it in the global flags field. The virtual console is not a parameter for
a debug_console, like UART, it's rather a property of the whole cell.
This patch also renames JAILHOUSE_CON2_TYPE_ROOT_PAGE to
the JAILHOUSE_SYS_VIRTUAL_DEBUG_CONSOLE.
This patch
- splits flags in type & flags in struct jailhouse_console
- updates all system configurations
- aligns the root cell config template
Patch for documentation will follow.
Signed-off-by: Ralf Ramsauer <ralf.ramsauer@oth-regensburg.de>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
35 files changed: