1179189Sjb/* 2179189Sjb * CDDL HEADER START 3179189Sjb * 4179189Sjb * The contents of this file are subject to the terms of the 5179189Sjb * Common Development and Distribution License (the "License"). 6179189Sjb * You may not use this file except in compliance with the License. 7179189Sjb * 8179189Sjb * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9179189Sjb * or http://www.opensolaris.org/os/licensing. 10179189Sjb * See the License for the specific language governing permissions 11179189Sjb * and limitations under the License. 12179189Sjb * 13179189Sjb * When distributing Covered Code, include this CDDL HEADER in each 14179189Sjb * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15179189Sjb * If applicable, add the following below this CDDL HEADER, with the 16179189Sjb * fields enclosed by brackets "[]" replaced with your own identifying 17179189Sjb * information: Portions Copyright [yyyy] [name of copyright owner] 18179189Sjb * 19179189Sjb * CDDL HEADER END 20179189Sjb * 21179189Sjb * $FreeBSD: releng/11.0/cddl/lib/libdtrace/unistd.d 179189 2008-05-22 04:26:42Z jb $ 22179189Sjb */ 23179189Sjb/* 24179189Sjb * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 25179189Sjb * Use is subject to license terms. 26179189Sjb */ 27179189Sjb 28179189Sjbinline int DTRACEFLT_UNKNOWN = 0; /* Unknown fault */ 29179189Sjb#pragma D binding "1.0" DTRACEFLT_UNKNOWN 30179189Sjb 31179189Sjbinline int DTRACEFLT_BADADDR = 1; /* Bad address */ 32179189Sjb#pragma D binding "1.0" DTRACEFLT_BADADDR 33179189Sjb 34179189Sjbinline int DTRACEFLT_BADALIGN = 2; /* Bad alignment */ 35179189Sjb#pragma D binding "1.0" DTRACEFLT_BADALIGN 36179189Sjb 37179189Sjbinline int DTRACEFLT_ILLOP = 3; /* Illegal operation */ 38179189Sjb#pragma D binding "1.0" DTRACEFLT_ILLOP 39179189Sjb 40179189Sjbinline int DTRACEFLT_DIVZERO = 4; /* Divide-by-zero */ 41179189Sjb#pragma D binding "1.0" DTRACEFLT_DIVZERO 42179189Sjb 43179189Sjbinline int DTRACEFLT_NOSCRATCH = 5; /* Out of scratch space */ 44179189Sjb#pragma D binding "1.0" DTRACEFLT_NOSCRATCH 45179189Sjb 46179189Sjbinline int DTRACEFLT_KPRIV = 6; /* Illegal kernel access */ 47179189Sjb#pragma D binding "1.0" DTRACEFLT_KPRIV 48179189Sjb 49179189Sjbinline int DTRACEFLT_UPRIV = 7; /* Illegal user access */ 50179189Sjb#pragma D binding "1.0" DTRACEFLT_UPRIV 51179189Sjb 52179189Sjbinline int DTRACEFLT_TUPOFLOW = 8; /* Tuple stack overflow */ 53179189Sjb#pragma D binding "1.0" DTRACEFLT_TUPOFLOW 54179189Sjb 55179189Sjbinline int DTRACEFLT_BADSTACK = 9; /* Bad stack */ 56179189Sjb#pragma D binding "1.4.1" DTRACEFLT_BADSTACK 57