scripts: gen_syscalls: add missing --split-type case
With CONFIG_TIMEOUT_64BIT it is both k_timeout_t and k_ticks_t that need to be split, otherwise many syscalls returning a number of ticks are being truncated to 32 bits. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
parent
e2edb3e405
commit
2cdac33d39
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ if(CONFIG_64BIT)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CONFIG_TIMEOUT_64BIT)
|
if(CONFIG_TIMEOUT_64BIT)
|
||||||
set(SYSCALL_SPLIT_TIMEOUT_ARG --split-type k_timeout_t)
|
set(SYSCALL_SPLIT_TIMEOUT_ARG --split-type k_timeout_t --split-type k_ticks_t)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_custom_command(OUTPUT include/generated/syscall_dispatch.c ${syscall_list_h}
|
add_custom_command(OUTPUT include/generated/syscall_dispatch.c ${syscall_list_h}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue