/fuchsia/zircon/scripts/ |
H A D | gen-vdso-valid-sysret.sh | 25 local define symbol rest syscall caller 34 syscall="${symbol#VDSO_CODE_SYSRET_zx_}" 35 caller="${syscall#*_VIA_}" 36 syscall="${syscall%_VIA_*}" 37 if eval "test -z \"\$syscall_callers_${syscall}\""; then 38 syscalls+=" $syscall" 39 eval "local syscall_callers_${syscall}=\$caller" 41 eval "syscall_callers_${syscall}+=\" \$caller\"" 45 for syscall i [all...] |
/fuchsia/zircon/system/ulib/zircon/ |
H A D | syscall-wrappers.cpp | 7 #include <zircon/syscall-vdso-wrappers.inc>
|
H A D | zircon-syscall-x86-64.S | 7 syscall
|
H A D | private.h | 20 #include <zircon/syscall-vdso-definitions.h>
|
H A D | zx_futex_wake_handle_close_thread_exit-x86-64.S | 5 #include "syscall-entry.h" 6 #include "zircon-syscall-x86-64.S" 7 #include <zircon/zx-syscall-numbers.h>
|
H A D | zx_futex_wake_handle_close_thread_exit-arm64.S | 5 #include "syscall-entry.h" 6 #include "zircon-syscall-arm64.S" 7 #include <zircon/zx-syscall-numbers.h>
|
H A D | zx_vmar_unmap_handle_close_thread_exit-arm64.S | 5 #include "syscall-entry.h" 6 #include "zircon-syscall-arm64.S" 7 #include <zircon/zx-syscall-numbers.h>
|
H A D | zx_vmar_unmap_handle_close_thread_exit-x86-64.S | 5 #include "syscall-entry.h" 6 #include "zircon-syscall-x86-64.S" 7 #include <zircon/zx-syscall-numbers.h>
|
/fuchsia/zircon/system/utest/core/bad-syscall/ |
H A D | syscall.S | 16 syscall
|
H A D | rules.mk | 13 MODULE_SRCS += $(LOCAL_DIR)/bad-syscall.c \ 14 $(LOCAL_DIR)/syscall.S 16 MODULE_NAME := bad-syscall-test
|
/fuchsia/zircon/make/ |
H A D | abigen.mk | 17 AG_KERNEL_HEADER := $(AG_ZIRCON)/syscall-definitions.h 18 AG_KERNEL_TRACE := $(AG_ZIRCON)/syscall-ktrace-info.inc 19 AG_KERNEL_CATEGORY := $(AG_ZIRCON)/syscall-category.inc 20 AG_KERNEL_WRAPPERS := $(AG_ZIRCON)/syscall-kernel-wrappers.inc 21 AG_KERNEL_BRANCHES := $(AG_ZIRCON)/syscall-kernel-branches.S 23 AG_ULIB_VDSO_HEADER := $(AG_ZIRCON)/syscall-vdso-definitions.h 24 AG_ULIB_VDSO_WRAPPERS := $(AG_ZIRCON)/syscall-vdso-wrappers.inc 25 AG_ULIB_SYSCALL_NUMBER := $(AG_ZIRCON)/zx-syscall-numbers.h 39 $(call BUILDECHO,generating syscall files from $(SYSCALLS_SRC))
|
/fuchsia/zircon/system/host/abigen/ |
H A D | generator.h | 13 // Interface for syscall generators. 17 virtual bool syscall(std::ofstream& os, const Syscall& sc) = 0; 45 bool syscall(std::ofstream& os, const Syscall& sc) override; 53 // Generate the syscall number definitions. 59 bool syscall(std::ofstream& os, const Syscall& sc) override; 70 bool syscall(std::ofstream& os, const Syscall& sc) override; 76 bool syscall(std::ofstream& os, const Syscall& sc) override; 83 /* Generates the kernel syscall jump table and accoutrements. */ 87 bool syscall(std::ofstream& os, const Syscall& sc) override; 90 /* Generates the kernel syscall wrapper [all...] |
H A D | syscall_parser.cpp | 17 if (iden == "syscall" || 177 Syscall syscall{ts.filectx(), name}; 180 syscall.attributes.push_back("*"); 185 syscall.attributes.push_back(maybe_attr); 191 if (!parse_argpack(&ts, &syscall.arg_spec)) 199 if (!parse_argpack(&ts, &syscall.ret_spec)) { 202 if (syscall.ret_spec.size() > 1) { 203 std::for_each(syscall.ret_spec.begin() + 1, syscall.ret_spec.end(), 214 return parser->AddSyscall(std::move(syscall)); [all...] |
H A D | abigen_generator.cpp | 39 "SYSCALL_zx_", // syscall implementation name 47 "ZX_SYS_"); // syscall numbers constant prefix 91 "m_syscall", // syscall macro name 92 "zx_", // syscall name prefix 124 // A C header defining ZX_SYS_* syscall number macros. 151 {"numbers", ".syscall-numbers.h"}, 167 bool AbigenGenerator::AddSyscall(Syscall&& syscall) { argument 168 if (!syscall.validate()) 170 syscall.assign_index(&next_index_); 171 calls_.emplace_back(std::move(syscall)); [all...] |
H A D | generator.cpp | 35 bool VDsoAsmGenerator::syscall(ofstream& os, const Syscall& sc) { function in class:VDsoAsmGenerator 64 bool KernelBranchGenerator::syscall(ofstream& os, const Syscall& sc) { function in class:KernelBranchGenerator 72 bool SyscallNumbersGenerator::syscall(ofstream& os, const Syscall& sc) { function in class:SyscallNumbersGenerator 86 bool TraceInfoGenerator::syscall(ofstream& os, const Syscall& sc) { function in class:TraceInfoGenerator 97 bool CategoryGenerator::syscall(ofstream& os, const Syscall& sc) { function in class:CategoryGenerator 123 // writes "[return-type] prefix_[syscall-name]("
|
H A D | abigen_generator.h | 23 bool AddSyscall(Syscall&& syscall);
|
H A D | header_generator.h | 16 // A prefix on the syscall name, and a predicate that returns 32 bool syscall(std::ofstream& os, const Syscall& sc) override;
|
H A D | rust_binding_generator.cpp | 24 bool RustBindingGenerator::syscall(std::ofstream& os, const Syscall& sc) { function in class:RustBindingGenerator
|
H A D | header_generator.cpp | 28 bool HeaderGenerator::syscall(std::ofstream& os, const Syscall& sc) { function in class:HeaderGenerator
|
H A D | vdso_wrapper_generator.h | 19 bool syscall(std::ofstream& os, const Syscall& sc) override; 40 // Wraps a syscall with the "blocking" attribute with code that will
|
/fuchsia/zircon/kernel/arch/x86/ |
H A D | syscall.S | 10 #include <zircon/zx-syscall-numbers.h> 16 // Macros for preparing ABI conformant calls for syscall wrappers. 221 // Adds a label for making the syscall and adds it to the jump table. 222 .macro syscall_dispatch nargs, syscall 223 .pushsection .text.syscall-dispatch,"ax",%progbits 224 LOCAL_FUNCTION(.Lcall_\syscall\()) 228 call wrapper_\syscall 230 END_FUNCTION(.Lcall_\syscall\()) 232 .pushsection .rodata.syscall-table,"a",%progbits 233 .quad .Lcall_\syscall [all...] |
/fuchsia/zircon/kernel/syscalls/ |
H A D | syscalls.cpp | 16 #include <zircon/zx-syscall-numbers.h> 28 LTRACEF("invalid syscall %lu from PC %#lx vDSO code %#lx\n", 50 LTRACEF_LEVEL(2, "t %p syscall num %" PRIu64 " ip/pc %#" PRIx64 "\n", 84 // Autogenerated per-syscall wrapper functions. 85 #include <zircon/syscall-kernel-wrappers.inc>
|
H A D | priv.h | 17 #include <zircon/syscall-definitions.h> 47 // (syscall-kernel-wrappers.inc). See KernelWrapperGenerator::syscall.
|
/fuchsia/zircon/kernel/arch/x86/include/arch/ |
H A D | arch_thread.h | 36 x86_syscall_general_regs_t *syscall; member in union:arch_thread::__anon26
|
/fuchsia/zircon/kernel/arch/arm64/ |
H A D | exceptions.S | 13 #include <zircon/zx-syscall-numbers.h> 51 // Preserve x0-x7 for syscall arguments 53 // x10 (containing elr_el1) is used in syscall handler 112 // Preserve x0-x1 for syscall returns (eventually x0-x7) 262 // If this is a syscall, x0-x7 contain args and x16 contains syscall num. 265 cmp x11, #0x15 // check for 64-bit syscall 266 beq arm64_syscall_dispatcher // and jump to syscall handler 434 // x0-x7 - contains syscall arguments 442 // x0-x7 - contains syscall argument [all...] |