blob: ccf5388b957b8dc611b6f4c848097d79091da724 [file] [log] [blame]
// Copyright 2017 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
#include <sys/types.h>
#include <zircon/compiler.h>
struct syscall_result {
// The assembler relies on the fact that the ABI will return this in
// x0,x1 (arm) or rax,rdx (x86) so we use plain types here to ensure this.
uint64_t status;
// Non-zero if thread was signaled.
uint64_t is_signaled;
struct syscall_result unknown_syscall(uint64_t syscall_num, uint64_t ip);