seL4/tools/hardware/outputs
Ivan-Velickovic 1cbaeb97f0 platform_gen: only generate regions that are used
Right now the `platform_gen.json` and `platform_gen.yaml` files contain
regions that are not actually used by the kernel. This is fine for
`platform_gen.h` because they are guarded by #ifdefs with kernel config
defines but the same approach does not work for YAML and JSON.

So, this patch changes the Python scripts that generate this files so
that they only generate the regions that actually end up being used.

Signed-off-by: Ivan-Velickovic <i.velickovic@unsw.edu.au>
2025-02-10 12:48:13 +11:00
..
__init__.py Convert license tags to SPDX identifiers 2020-03-09 13:21:49 +08:00
c_header.py platform_gen: only generate regions that are used 2025-02-10 12:48:13 +11:00
compat_strings.py platform_gen: only generate regions that are used 2025-02-10 12:48:13 +11:00
elfloader.py platform_gen: only generate regions that are used 2025-02-10 12:48:13 +11:00
json.py platform_gen: only generate regions that are used 2025-02-10 12:48:13 +11:00
yaml.py platform_gen: only generate regions that are used 2025-02-10 12:48:13 +11:00