Home
last modified time | relevance | path

Searched refs:syscall (Results 1 – 25 of 200) sorted by relevance

12345678

/openbmc/u-boot/examples/api/
H A Dglue.c79 if (!syscall(API_GETC, NULL, &c)) in ub_getc()
89 if (!syscall(API_TSTC, NULL, &t)) in ub_tstc()
97 syscall(API_PUTC, NULL, &c); in ub_putc()
102 syscall(API_PUTS, NULL, s); in ub_puts()
113 syscall(API_RESET, NULL); in ub_reset()
128 if (!syscall(API_GET_SYS_INFO, &err, &si)) in ub_get_sys_info()
142 syscall(API_UDELAY, NULL, &usec); in ub_udelay()
149 if (!syscall(API_GET_TIMER, NULL, &cur, &base)) in ub_get_timer()
185 if (!syscall(API_DEV_ENUM, NULL, di)) in ub_dev_enum()
199 if (!syscall(API_DEV_ENUM, NULL, di)) in ub_dev_enum()
[all …]
H A Dcrt0.S19 .globl syscall
20 syscall: label
37 .globl syscall
38 syscall: label
52 .globl syscall
53 .ent syscall
54 syscall: label
62 .end syscall
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/
H A D0006-kexec-syscall.h-work-around-missing-syscall-wrapper.patch4 Subject: [PATCH] kexec-syscall.h: work around missing syscall() wrapper
8 kexec-syscall.h: In function 'kexec_load':
9 kexec-syscall.h:80:16: warning: implicit declaration of function 'syscall'
15 kexec/kexec-syscall.h | 21 +++++++++++++++++++++
18 diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h
20 --- a/kexec/kexec-syscall.h
21 +++ b/kexec/kexec-syscall.h
30 return (long) syscall(__NR_kexec_load, entry, nr_segments, segments, flags);
62 return (long) syscall(__NR_kexec_file_load, kernel_fd, initrd_fd,
H A Darm64_kexec-arm64.c-workaround-for-getrandom-syscall.patch4 Subject: [PATCH] kexec-arm64.c: workaround for getrandom() syscall
6 The syscall was added to OE's klibc.
9 | ../git/kexec/arch/arm64/kexec-arm64.c:19:10: fatal error: syscall.h: No such file or directory
10 | #include <syscall.h>
35 #include <syscall.h>
46 result = syscall(SYS_getrandom, &fdt_val64,
H A Dkexec-x32.patch16 kexec/kexec-syscall.h: Add correct syscall number for x32 ABI.
26 kexec/kexec-syscall.h | 4 ++++
66 diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h
68 --- a/kexec/kexec-syscall.h
69 +++ b/kexec/kexec-syscall.h
/openbmc/openbmc/poky/meta/recipes-core/musl/musl/
H A D0001-Update-syscalls-for-r32-rv64-from-kernel-6.4-through.patch9 arch/riscv32/bits/syscall.h.in | 11 +++++++++++
10 arch/riscv64/bits/syscall.h.in | 11 +++++++++++
13 diff --git a/arch/riscv32/bits/syscall.h.in b/arch/riscv32/bits/syscall.h.in
15 --- a/arch/riscv32/bits/syscall.h.in
16 +++ b/arch/riscv32/bits/syscall.h.in
42 diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in
44 --- a/arch/riscv64/bits/syscall.h.in
45 +++ b/arch/riscv64/bits/syscall.h.in
/openbmc/qemu/util/
H A Ds390x_pci_mmio.c71 syscall(__NR_s390_pci_mmio_read, ioaddr, &val, sizeof(val)); in s390x_pci_mmio_read_8()
83 syscall(__NR_s390_pci_mmio_read, ioaddr, &val, sizeof(val)); in s390x_pci_mmio_read_16()
95 syscall(__NR_s390_pci_mmio_read, ioaddr, &val, sizeof(val)); in s390x_pci_mmio_read_32()
107 syscall(__NR_s390_pci_mmio_read, ioaddr, &val, sizeof(val)); in s390x_pci_mmio_read_64()
117 syscall(__NR_s390_pci_mmio_write, ioaddr, &val, sizeof(val)); in s390x_pci_mmio_write_8()
126 syscall(__NR_s390_pci_mmio_write, ioaddr, &val, sizeof(val)); in s390x_pci_mmio_write_16()
135 syscall(__NR_s390_pci_mmio_write, ioaddr, &val, sizeof(val)); in s390x_pci_mmio_write_32()
144 syscall(__NR_s390_pci_mmio_write, ioaddr, &val, sizeof(val)); in s390x_pci_mmio_write_64()
/openbmc/openbmc/poky/meta/recipes-devtools/valgrind/valgrind/
H A D0001-memcheck-tests-Fix-timerfd-syscall-test.patch4 Subject: [PATCH] memcheck/tests: Fix timerfd syscall test
8 have the implementation or syscall is not defined
15 memcheck/tests/linux/timerfd-syscall.c | 14 +++++++++++---
37 sys/syscall.h \
44 diff --git a/memcheck/tests/linux/timerfd-syscall.c b/memcheck/tests/linux/timerfd-syscall.c
46 --- a/memcheck/tests/linux/timerfd-syscall.c
47 +++ b/memcheck/tests/linux/timerfd-syscall.c
96 return syscall(__NR_timerfd_create, clockid, flags);
99 return syscall(__NR_timerfd_gettime, ufc, otmr);
H A D0003-correct-include-directive-path-for-config.h.patch14 memcheck/tests/linux/syslog-syscall.c | 2 +-
30 diff --git a/memcheck/tests/linux/syslog-syscall.c b/memcheck/tests/linux/syslog-syscall.c
32 --- a/memcheck/tests/linux/syslog-syscall.c
33 +++ b/memcheck/tests/linux/syslog-syscall.c
/openbmc/openbmc/poky/meta/recipes-extended/libaio/libaio/
H A D00_arches.patch11 src/syscall-m68k.h | 78 +++++++++++++++
12 src/syscall-mips.h | 223 +++++++++++++++++++++++++++++++++++++++++++
13 src/syscall-parisc.h | 146 ++++++++++++++++++++++++++++
14 src/syscall.h | 6 ++
16 create mode 100644 src/syscall-m68k.h
17 create mode 100644 src/syscall-mips.h
18 create mode 100644 src/syscall-parisc.h
20 diff --git a/src/syscall-m68k.h b/src/syscall-m68k.h
24 +++ b/src/syscall-m68k.h
104 diff --git a/src/syscall-mips.h b/src/syscall-mips.h
[all …]
H A Dlibaio_fix_for_mips_syscalls.patch5 Index: libaio-0.3.109/src/syscall-mips.h
7 --- libaio-0.3.109.orig/src/syscall-mips.h
8 +++ libaio-0.3.109/src/syscall-mips.h
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/
H A D0004-qemu-Do-not-include-file-if-not-exists.patch15 linux-user/syscall.c | 2 ++
18 diff --git a/linux-user/syscall.c b/linux-user/syscall.c
20 --- a/linux-user/syscall.c
21 +++ b/linux-user/syscall.c
/openbmc/u-boot/api/
H A DREADME6 - there is a single entry point (syscall) to the API
8 - per current design the syscall is a C-callable function in the U-Boot
9 text, which might evolve into a real syscall using machine exception trap
15 - upon entry, the syscall dispatches the call to other (existing) U-Boot
44 - implements the single entry point (mimics UNIX syscall)
47 - entry point at the consumer side, allows to make syscall, mandatory
51 the syscall directly, but in a more friendly manner (a la libc calls),
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/minidlna/minidlna/
H A D0001-configure-Check-for-clock_gettime-seprately-from-__N.patch7 This helps prioritize using clock_gettime API from libc over syscall
24 AC_CHECK_HEADERS(syscall.h sys/syscall.h mach/mach_time.h)
29 AC_MSG_CHECKING([for __NR_clock_gettime syscall])
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/turbostat/turbostat/
H A DCOPYING3 SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
10 With an explicit syscall exception, as stated at:
12 LICENSES/exceptions/Linux-syscall-note
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/
H A DCOPYING3 SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
10 With an explicit syscall exception, as stated at:
12 LICENSES/exceptions/Linux-syscall-note
H A D0001-selftests-timers-Fix-clock_adjtime-for-newer-32-bit-.patch9 if this condition is found then use 64-bit adjtime syscall
24 #include <sys/syscall.h>
28 + return syscall(__NR_clock_adjtime64, id, tx);
30 return syscall(__NR_clock_adjtime, id, tx);
/openbmc/qemu/linux-headers/
H A DCOPYING3 SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
10 With an explicit syscall exception, as stated at:
12 LICENSES/exceptions/Linux-syscall-note
/openbmc/qemu/hw/char/
H A Driscv_htif.c204 uint64_t syscall[8]; in htif_handle_tohost_write() local
205 cpu_physical_memory_read(payload, syscall, sizeof(syscall)); in htif_handle_tohost_write()
206 if (le64_to_cpu(syscall[0]) == PK_SYS_WRITE && in htif_handle_tohost_write()
207 le64_to_cpu(syscall[1]) == HTIF_DEV_CONSOLE && in htif_handle_tohost_write()
208 le64_to_cpu(syscall[3]) == HTIF_CONSOLE_CMD_PUTC) { in htif_handle_tohost_write()
210 cpu_physical_memory_read(le64_to_cpu(syscall[2]), &ch, 1); in htif_handle_tohost_write()
/openbmc/openbmc/poky/meta/recipes-core/busybox/busybox/
H A D0001-hwclock-Check-for-SYS_settimeofday-before-calling-sy.patch4 Subject: [PATCH] hwclock: Check for SYS_settimeofday before calling syscall
9 syscall. Fixes build for riscv32 and it will bail out at runtime.
37 /* musl libc does not pass tz argument to syscall
43 - int ret = syscall(SYS_settimeofday, NULL, tz);
45 + ret = syscall(SYS_settimeofday, NULL, tz);
/openbmc/qemu/common-user/
H A Dmeson.build8 'safe-syscall.S',
9 'safe-syscall-error.c',
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/
H A D0001-os-linux-Fix-build-when-__NR_futex-is-not-available.patch8 futex_time64 syscall
25 +#include <sys/syscall.h>
44 - ret = syscall( __NR_futex, uaddr, op, val, timeout, uaddr2, val3 );
45 + ret = syscall( SYS_futex, uaddr, op, val, timeout, uaddr2, val3 );
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb/
H A D0001-aio_linux-Check-if-syscall-exists-before-using-it.patch4 Subject: [PATCH] aio_linux: Check if syscall exists before using it
9 63 | int ret= syscall(__NR_io_getevents, reinterpret_cast<long>(ctx),
29 int ret= syscall(__NR_io_getevents, reinterpret_cast<long>(ctx),
H A Dsys_futex.patch4 Subject: [PATCH] Use SYS_futex for syscall
22 # include <sys/syscall.h>
30 syscall(SYS_futex, a, FUTEX_ ## op ## _PRIVATE, n, nullptr, nullptr, 0)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/
H A D0001-Add-support-for-mips64-n32-n64.patch794 + at least for syscall numbers */
844 - On a mips, syscall looks like:
845 - 24040fa1 li v0, 0x0fa1 # 4001 --> _exit syscall
846 - 0000000c syscall
851 - for preceeding syscall instruction */
858 - (top->c_un.syscall == (__NR_rt_sigreturn -
860 - top->c_un.syscall == (__NR_sigreturn -
862 - *sysnum = top->c_un.syscall;
870 - /* if it is a syscall, return 1 or 2 */
873 - proc->callstack[proc->callstack_depth - 1].c_un.syscall == *sysnum) {
[all …]

12345678