tools: Correct syscall numbers
This commit is contained in:
parent
187445000e
commit
66149498ff
1 changed files with 1 additions and 1 deletions
|
|
@ -115,11 +115,11 @@ LIBSEL4_HEADER_TEMPLATE = """/*
|
|||
#include <autoconf.h>
|
||||
|
||||
typedef enum {
|
||||
{%- set ns = namespace(syscall_number=-1) -%}
|
||||
{%- for condition, list in enum %}
|
||||
{%- if condition | length > 0 %}
|
||||
#if {{condition}}
|
||||
{%- endif %}
|
||||
{%- set ns = namespace(syscall_number=-1) -%}
|
||||
{%- for syscall in list %}
|
||||
seL4_Sys{{syscall}} = {{ns.syscall_number}},
|
||||
{%- set ns.syscall_number = ns.syscall_number - 1 -%}
|
||||
|
|
|
|||
Loading…
Reference in a new issue