X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/4d15aeb193b2c68f1d38666c317f8d3734f5f083..5ba3f43ea354af8ad55bea84372a2bc834d8757c:/bsd/sys/systrace_args.h diff --git a/bsd/sys/systrace_args.h b/bsd/sys/systrace_args.h new file mode 100644 index 000000000..5c1ef577e --- /dev/null +++ b/bsd/sys/systrace_args.h @@ -0,0 +1,36 @@ +/* + * CDDL HEADER START + * + * The contents of this file are subject to the terms of the + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. + * + * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE + * or http://www.opensolaris.org/os/licensing. + * See the License for the specific language governing permissions + * and limitations under the License. + * + * When distributing Covered Code, include this CDDL HEADER in each + * file and include the License file at usr/src/OPENSOLARIS.LICENSE. + * If applicable, add the following below this CDDL HEADER, with the + * fields enclosed by brackets "[]" replaced with your own identifying + * information: Portions Copyright [yyyy] [name of copyright owner] + * + * CDDL HEADER END + */ + +/* + * Copyright 2017 Apple, Inc. All rights reserved. + * Use is subject to license terms. + */ +#ifndef _SYS_SYSTRACE_ARGS_H +#define _SYS_SYSTRACE_ARGS_H + +#include +#include + +void systrace_args(int sysnum, void *params, uint64_t *uarg); +void systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz); +void systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz); + +#endif /* _SYS_SYSTRACE_ARGS_H */