seL4/tools
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
..
dts Added initial support for Cheshire platform 2025-02-03 16:10:58 +11:00
hardware platform_gen: only generate regions that are used 2025-02-10 12:48:13 +11:00
python-deps sel4-deps: tighten deps; update instructions 2024-07-11 10:53:24 +10:00
bf.vim Convert license tags to SPDX identifiers 2020-03-09 13:21:49 +08:00
bitfield_gen.md bitfield_gen: add CLI to manual 2023-05-03 09:05:23 +10:00
bitfield_gen.py bitfield_gen: properly escape backslash 2024-05-27 14:34:00 +10:00
changed.sh tools: BSD compat for changed.sh 2020-06-18 12:39:46 +10:00
circular_includes.py Fix indexing into an empty array 2021-10-18 18:10:59 +11:00
condition.py invocations_all.json: define remove_prefix() 2024-10-07 16:55:54 +11:00
config_gen.py cmake: provide gen_config.json 2023-03-02 09:31:42 +11:00
cpp_gen.sh tools: use /usr/bin/env for bash/sh invocation 2021-08-25 17:56:49 +10:00
flags.cmake Convert license tags to SPDX identifiers 2020-03-09 13:21:49 +08:00
hardware.yml Added initial support for Cheshire platform 2025-02-03 16:10:58 +11:00
hardware_gen.py platform_gen: only generate regions that are used 2025-02-10 12:48:13 +11:00
hardware_schema.yml Convert license tags to SPDX identifiers 2020-03-09 13:21:49 +08:00
helpers.cmake configs: additional verified platforms 2024-10-25 16:23:44 +11:00
internal.cmake CMake: inline set_kernel_32() and set_kernel_64() 2021-02-01 18:23:42 +01:00
invocation_header_gen.py Remove unused Python imports in scripts 2024-05-02 10:17:13 +01:00
invocation_json_gen.py Export invocation numbers to JSON file 2024-10-04 09:06:02 +01:00
kernel_pylint.sh tools: more portable shell test 2021-08-25 17:56:49 +10:00
kernel_xmllint.sh libsel4: rename interface XML files 2024-06-30 18:28:12 +10:00
lex.py Remove python2 support for core build tools 2024-05-02 02:11:29 +01:00
pylintrc Convert license tags to SPDX identifiers 2020-03-09 13:21:49 +08:00
reciprocal.py Convert license tags to SPDX identifiers 2020-03-09 13:21:49 +08:00
syscall_header_gen.py Remove unused Python imports in scripts 2024-05-02 10:17:13 +01:00
umm.py Remove python2 support for core build tools 2024-05-02 02:11:29 +01:00
xmllint.sh tools: use /usr/bin/env for bash/sh invocation 2021-08-25 17:56:49 +10:00