blob: 756d471702a2d123c87c722d79959f2ebab5d576 [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#include "syscalls_priv.h"
zx_status_t sys_syscall_test_0(void) {
return 0;
}
zx_status_t sys_syscall_test_1(int a) {
return a;
}
zx_status_t sys_syscall_test_2(int a, int b) {
return a + b;
}
zx_status_t sys_syscall_test_3(int a, int b, int c) {
return a + b + c;
}
zx_status_t sys_syscall_test_4(int a, int b, int c, int d) {
return a + b + c + d;
}
zx_status_t sys_syscall_test_5(int a, int b, int c, int d, int e) {
return a + b + c + d + e;
}
zx_status_t sys_syscall_test_6(int a, int b, int c, int d, int e, int f) {
return a + b + c + d + e + f;
}
zx_status_t sys_syscall_test_7(int a, int b, int c, int d, int e, int f, int g) {
return a + b + c + d + e + f + g;
}
zx_status_t sys_syscall_test_8(int a, int b, int c, int d, int e, int f, int g, int h) {
return a + b + c + d + e + f + g + h;
}
zx_status_t sys_syscall_test_wrapper(int a, int b, int c) {
return a + b + c;
}