Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
test_syscalls.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2017 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef _TEST_SYSCALLS_H_
8#define _TEST_SYSCALLS_H_
9#include <zephyr/kernel.h>
10
11__syscall int string_alloc_copy(char *src);
12
13__syscall int string_copy(char *src);
14
15__syscall int to_copy(char *dest);
16
17__syscall size_t string_nlen(char *src, size_t maxlen, int *err);
18
19__syscall int syscall_arg64(uint64_t arg);
20
22 uint32_t arg4, uint32_t arg5, uint64_t arg6);
23
24__syscall bool syscall_context(void);
25
26__syscall uint32_t more_args(uint32_t arg1, uint32_t arg2, uint32_t arg3,
27 uint32_t arg4, uint32_t arg5, uint32_t arg6,
28 uint32_t arg7);
29
30#include <zephyr/syscalls/test_syscalls.h>
31
32#endif /* _TEST_SYSCALLS_H_ */
Public kernel APIs.
int to_copy(char *dest)
int syscall_arg64(uint64_t arg)
uint32_t more_args(uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5, uint32_t arg6, uint32_t arg7)
size_t string_nlen(char *src, size_t maxlen, int *err)
int string_alloc_copy(char *src)
int string_copy(char *src)
bool syscall_context(void)
uint64_t syscall_arg64_big(uint32_t arg1, uint32_t arg2, uint64_t arg3, uint32_t arg4, uint32_t arg5, uint64_t arg6)
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT64_TYPE__ uint64_t
Definition stdint.h:91