diff options
author | Ruslan Bukin <br@FreeBSD.org> | 2015-07-01 15:51:11 +0000 |
---|---|---|
committer | Ruslan Bukin <br@FreeBSD.org> | 2015-07-01 15:51:11 +0000 |
commit | b78ee15e9f04ae15c3e1200df974473167524d17 (patch) | |
tree | e6b0ba6abf805eec2a1add71465116f05cc0c76a /sys/cddl/contrib/opensolaris/uts/aarch64 | |
parent | 8b47cda2f77b115c7bcafdbf41e1412c618996cf (diff) | |
download | src-b78ee15e9f04ae15c3e1200df974473167524d17.tar.gz src-b78ee15e9f04ae15c3e1200df974473167524d17.zip |
First cut of DTrace for AArch64.
Reviewed by: andrew, emaste
Sponsored by: ARM Limited
Differential Revision: https://reviews.freebsd.org/D2738
Notes
Notes:
svn path=/head/; revision=285009
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/aarch64')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/aarch64/dtrace/fasttrap_isa.c | 29 | ||||
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/aarch64/sys/fasttrap_isa.h | 46 |
2 files changed, 75 insertions, 0 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/aarch64/dtrace/fasttrap_isa.c b/sys/cddl/contrib/opensolaris/uts/aarch64/dtrace/fasttrap_isa.c new file mode 100644 index 000000000000..f5377a895d6c --- /dev/null +++ b/sys/cddl/contrib/opensolaris/uts/aarch64/dtrace/fasttrap_isa.c @@ -0,0 +1,29 @@ +/* + * 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 2007 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. + */ + +/* + * XXX: Placeholder for AArch64 fasttrap code + */ diff --git a/sys/cddl/contrib/opensolaris/uts/aarch64/sys/fasttrap_isa.h b/sys/cddl/contrib/opensolaris/uts/aarch64/sys/fasttrap_isa.h new file mode 100644 index 000000000000..d85426edb417 --- /dev/null +++ b/sys/cddl/contrib/opensolaris/uts/aarch64/sys/fasttrap_isa.h @@ -0,0 +1,46 @@ +/* + * CDDL HEADER START + * + * The contents of this file are subject to the terms of the + * Common Development and Distribution License, Version 1.0 only + * (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 2005 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. + */ + +#ifndef _FASTTRAP_ISA_H +#define _FASTTRAP_ISA_H + +#pragma ident "%Z%%M% %I% %E% SMI" + +#include <sys/types.h> + +#ifdef __cplusplus +extern "C" { +#endif + +typedef uint32_t fasttrap_instr_t; + +/* XXX: Place for AArch64 fasttrap headers */ + +#ifdef __cplusplus +} +#endif + +#endif /* _FASTTRAP_ISA_H */ |