ADDED arch/mktbl.posix.sh Index: arch/mktbl.posix.sh ================================================================== --- arch/mktbl.posix.sh +++ arch/mktbl.posix.sh @@ -0,0 +1,39 @@ +#!/usr/bin/env bash + +ABI=$2 + +cat >$1/system_calls.h <
>$1/system_calls.h -F'\t+' '$2 == "common" || $2 == "'$ABI'" { print "\tk_platform_syscall_" $3 " = " $1 "," }' + +cat >>$1/system_calls.h <