Artifact 23075063af0ba6c59f4d07748c095913f9f47c8cb336d66122146494dcf696f6:
- File arch/syscall.awk — part of check-in [37b0cfaa06] at 2019-08-18 17:56:41 on branch trunk — revamp arch/ makefile, add generic syscall fn on posix, rewrite kiosend() to use k_platform_syscall instead of k_platform_write (user: lexi, size: 328) [annotate] [blame] [check-ins using]
BEGIN { if (out == "h") { print "#ifndef KIplatform_syscalls" print "#define KIplatform_syscalls" print "enum k_platform_syscall {" } } out == "h" { print "\tk_platform_syscall_"$1" = "$2"," } # c header out == "s" { print "%define sys."$1" "$2 } # assembly END { if (out == "h") { print "};" print "#endif" } }