|
Last change
on this file since cd1e3fc0 was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago |
|
Replace some license headers with SPDX identifier
Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.
|
-
Property mode
set to
100644
|
|
File size:
914 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * SPDX-FileCopyrightText: 2005 Martin Decky
|
|---|
| 3 | *
|
|---|
| 4 | * SPDX-License-Identifier: BSD-3-Clause
|
|---|
| 5 | */
|
|---|
| 6 |
|
|---|
| 7 | /** @addtogroup libc
|
|---|
| 8 | * @{
|
|---|
| 9 | */
|
|---|
| 10 | /**
|
|---|
| 11 | * @file
|
|---|
| 12 | * @brief Syscall function declaration for architectures that don't
|
|---|
| 13 | * inline syscalls or architectures that handle syscalls
|
|---|
| 14 | * according to the number of arguments.
|
|---|
| 15 | */
|
|---|
| 16 |
|
|---|
| 17 | #ifndef _LIBC_SYSCALL_H_
|
|---|
| 18 | #define _LIBC_SYSCALL_H_
|
|---|
| 19 |
|
|---|
| 20 | #ifndef LIBARCH_SYSCALL_GENERIC
|
|---|
| 21 | #error You cannot include this file directly
|
|---|
| 22 | #endif
|
|---|
| 23 |
|
|---|
| 24 | #include <abi/syscall.h>
|
|---|
| 25 | #include <types/common.h>
|
|---|
| 26 |
|
|---|
| 27 | #define __syscall0 __syscall
|
|---|
| 28 | #define __syscall1 __syscall
|
|---|
| 29 | #define __syscall2 __syscall
|
|---|
| 30 | #define __syscall3 __syscall
|
|---|
| 31 | #define __syscall4 __syscall
|
|---|
| 32 | #define __syscall5 __syscall
|
|---|
| 33 | #define __syscall6 __syscall
|
|---|
| 34 |
|
|---|
| 35 | extern sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2,
|
|---|
| 36 | const sysarg_t p3, const sysarg_t p4, const sysarg_t p5, const sysarg_t p6,
|
|---|
| 37 | const syscall_t id);
|
|---|
| 38 |
|
|---|
| 39 | #endif
|
|---|
| 40 |
|
|---|
| 41 | /** @}
|
|---|
| 42 | */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.