blob: 643ab840a0c4871997cabd48f7ddc28fd89c4ed9 [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/* define and implement the zircon syscall wrappers for arm64 */
#include "syscall-entry.h"
#include "zircon-syscall-arm64.S"
.text
.cfi_sections .eh_frame, .debug_frame
.macro m_syscall name, num, nargs, public
syscall_entry_begin \name
.if \nargs > 8
.error "maximum 8 syscall arguments"
.endif
zircon_syscall \num, \name, \name
ret
syscall_entry_end \name \public
.endm
#include "syscalls-stubs.S"