proc.h revision 95744
182899Sjake/* 282899Sjake * Copyright (c) 1991 Regents of the University of California. 380708Sjake * All rights reserved. 480708Sjake * 580708Sjake * Redistribution and use in source and binary forms, with or without 680708Sjake * modification, are permitted provided that the following conditions 780708Sjake * are met: 880708Sjake * 1. Redistributions of source code must retain the above copyright 980708Sjake * notice, this list of conditions and the following disclaimer. 1080708Sjake * 2. Redistributions in binary form must reproduce the above copyright 1180708Sjake * notice, this list of conditions and the following disclaimer in the 1280708Sjake * documentation and/or other materials provided with the distribution. 1382899Sjake * 3. All advertising materials mentioning features or use of this software 1482899Sjake * must display the following acknowledgement: 1582899Sjake * This product includes software developed by the University of 1682899Sjake * California, Berkeley and its contributors. 1782899Sjake * 4. Neither the name of the University nor the names of its contributors 1882899Sjake * may be used to endorse or promote products derived from this software 1982899Sjake * without specific prior written permission. 2080708Sjake * 2182899Sjake * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2280708Sjake * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2380708Sjake * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2482899Sjake * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2580708Sjake * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2680708Sjake * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2780708Sjake * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2880708Sjake * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2980708Sjake * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3080708Sjake * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3180708Sjake * SUCH DAMAGE. 3280708Sjake * 3382899Sjake * from: @(#)proc.h 7.1 (Berkeley) 5/15/91 3482899Sjake * from: FreeBSD: src/sys/i386/include/proc.h,v 1.11 2001/06/29 3580708Sjake * $FreeBSD: head/sys/sparc64/include/proc.h 95744 2002-04-29 18:08:26Z jake $ 3680708Sjake */ 3780708Sjake 3880708Sjake#ifndef _MACHINE_PROC_H_ 3980708Sjake#define _MACHINE_PROC_H_ 4080708Sjake 4180709Sjake#include <machine/tte.h> 4288782Sjake#include <machine/utrap.h> 4380708Sjake 4488782Sjakestruct md_utrap { 4588782Sjake utrap_entry_t *ut_precise[UT_MAX]; /* must be first */ 4688782Sjake int ut_refcnt; 4788782Sjake}; 4888782Sjake 4983366Sjulianstruct mdthread { 5093264Sdillon register_t md_savecrit; 5183366Sjulian}; 5283366Sjulian 5383053Sobrienstruct mdproc { 5488782Sjake struct md_utrap *md_utrap; 5595744Sjake void *md_sigtramp; 5680708Sjake}; 5780708Sjake 5880708Sjake#endif /* !_MACHINE_PROC_H_ */ 59