From 810241190102eaf849f5744ca7eeb68ad34f01d7 Mon Sep 17 00:00:00 2001 From: Florent Revest Date: Tue, 4 Jul 2023 17:59:04 +0200 Subject: pkg/csource: annotate syscall() args with their pretty-printed values This factorizes const arguments into the shortest flags OR bitmask possible so they are easy to read. E.g: /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul --- sys/test/csource.txt.const | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sys/test/csource.txt.const (limited to 'sys/test/csource.txt.const') diff --git a/sys/test/csource.txt.const b/sys/test/csource.txt.const new file mode 100644 index 000000000..2c90daac7 --- /dev/null +++ b/sys/test/csource.txt.const @@ -0,0 +1,4 @@ +arches = 32_fork_shmem, 32_shmem, 64, 64_fork +BIT_0 = 1 +BIT_1 = 2 +BIT_0_AND_1 = 3 -- cgit mrf-deployment