1*d9328cd4SRobert Mustacchi /* 2*d9328cd4SRobert Mustacchi * CDDL HEADER START 3*d9328cd4SRobert Mustacchi * 4*d9328cd4SRobert Mustacchi * The contents of this file are subject to the terms of the 5*d9328cd4SRobert Mustacchi * Common Development and Distribution License (the "License"). 6*d9328cd4SRobert Mustacchi * You may not use this file except in compliance with the License. 7*d9328cd4SRobert Mustacchi * 8*d9328cd4SRobert Mustacchi * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*d9328cd4SRobert Mustacchi * or http://www.opensolaris.org/os/licensing. 10*d9328cd4SRobert Mustacchi * See the License for the specific language governing permissions 11*d9328cd4SRobert Mustacchi * and limitations under the License. 12*d9328cd4SRobert Mustacchi * 13*d9328cd4SRobert Mustacchi * When distributing Covered Code, include this CDDL HEADER in each 14*d9328cd4SRobert Mustacchi * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*d9328cd4SRobert Mustacchi * If applicable, add the following below this CDDL HEADER, with the 16*d9328cd4SRobert Mustacchi * fields enclosed by brackets "[]" replaced with your own identifying 17*d9328cd4SRobert Mustacchi * information: Portions Copyright [yyyy] [name of copyright owner] 18*d9328cd4SRobert Mustacchi * 19*d9328cd4SRobert Mustacchi * CDDL HEADER END 20*d9328cd4SRobert Mustacchi */ 21*d9328cd4SRobert Mustacchi 22*d9328cd4SRobert Mustacchi /* 23*d9328cd4SRobert Mustacchi * Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. 24*d9328cd4SRobert Mustacchi */ 25*d9328cd4SRobert Mustacchi #ifndef _RDB_MACH_H 26*d9328cd4SRobert Mustacchi #define _RDB_MACH_H 27*d9328cd4SRobert Mustacchi 28*d9328cd4SRobert Mustacchi #include <sys/regset.h> 29*d9328cd4SRobert Mustacchi #include <sys/psw.h> 30*d9328cd4SRobert Mustacchi 31*d9328cd4SRobert Mustacchi #ifdef __cplusplus 32*d9328cd4SRobert Mustacchi extern "C" { 33*d9328cd4SRobert Mustacchi #endif 34*d9328cd4SRobert Mustacchi 35*d9328cd4SRobert Mustacchi #define ERRBIT PS_C 36*d9328cd4SRobert Mustacchi #define R_PS REG_RFL 37*d9328cd4SRobert Mustacchi 38*d9328cd4SRobert Mustacchi /* 39*d9328cd4SRobert Mustacchi * Breakpoint instruction 40*d9328cd4SRobert Mustacchi */ 41*d9328cd4SRobert Mustacchi typedef unsigned char bptinstr_t; 42*d9328cd4SRobert Mustacchi #define BPINSTR 0xcc /* int 3 */ 43*d9328cd4SRobert Mustacchi 44*d9328cd4SRobert Mustacchi /* 45*d9328cd4SRobert Mustacchi * PLT section type 46*d9328cd4SRobert Mustacchi */ 47*d9328cd4SRobert Mustacchi #define PLTSECTT SHT_PROGBITS 48*d9328cd4SRobert Mustacchi 49*d9328cd4SRobert Mustacchi #ifdef __cplusplus 50*d9328cd4SRobert Mustacchi } 51*d9328cd4SRobert Mustacchi #endif 52*d9328cd4SRobert Mustacchi 53*d9328cd4SRobert Mustacchi #endif /* _RDB_MACH_H */ 54