seL4/tools
Gerwin Klein 29b63be21d bfgen: allow simple arithmetic integer expressions
Allow arithmetic integer expressions in all places where previously
only integer literals were allowed.

The operators +, -, *, / and % are supported. Additionally, in field,
field_high, and padding specifications, the constants "word_size" and
"canonical" are available.

This enables more readable bitfield specifications without changing
any of the code and proof generation. Produces identical output to
before.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2026-01-09 09:00:43 +11:00
..
dts Add support for rock3b 2025-12-10 09:05:02 +11:00
hardware tools: don't exclude device-tree reserved memory 2025-10-16 11:05:15 +01:00
python-deps python-deps: bump cmake-format and autopep8 2025-07-22 12:42:33 +01:00
bf.vim Convert license tags to SPDX identifiers 2020-03-09 13:21:49 +08:00
bitfield_gen.md bfgen: allow simple arithmetic integer expressions 2026-01-09 09:00:43 +11:00
bitfield_gen.py bfgen: allow simple arithmetic integer expressions 2026-01-09 09:00:43 +11: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 treewide: typo fixes 2025-04-14 12:05:16 +10:00
config_gen.py Build: Add output file diffing to config_gen.py 2025-04-27 11:33:45 +10:00
cpp_gen.sh treewide: typo fixes 2025-04-14 12:05:16 +10:00
flags.cmake Bump minimum CMake version 2025-02-26 17:11:57 +11:00
hardware.yml Add support for the Banana Pi BPI-F3 2025-11-27 20:01:07 +01: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 trivial: adjust style for new cmake-format 2025-10-24 09:41:03 +11:00
internal.cmake Bump minimum CMake version 2025-02-26 17:11:57 +11:00
invocation_header_gen.py Remove unused Python imports in scripts 2024-05-02 10:17:13 +01:00
invocation_json_gen.py treewide: typo fixes 2025-04-14 12:05:16 +10: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