proc.h revision 1.1
11.1Seeh/* $NetBSD: proc.h,v 1.1 1998/06/20 04:58:52 eeh Exp $ */ 21.1Seeh 31.1Seeh/* 41.1Seeh * Copyright (c) 1992, 1993 51.1Seeh * The Regents of the University of California. All rights reserved. 61.1Seeh * 71.1Seeh * This software was developed by the Computer Systems Engineering group 81.1Seeh * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 91.1Seeh * contributed to Berkeley. 101.1Seeh * 111.1Seeh * All advertising materials mentioning features or use of this software 121.1Seeh * must display the following acknowledgement: 131.1Seeh * This product includes software developed by the University of 141.1Seeh * California, Lawrence Berkeley Laboratory. 151.1Seeh * 161.1Seeh * Redistribution and use in source and binary forms, with or without 171.1Seeh * modification, are permitted provided that the following conditions 181.1Seeh * are met: 191.1Seeh * 1. Redistributions of source code must retain the above copyright 201.1Seeh * notice, this list of conditions and the following disclaimer. 211.1Seeh * 2. Redistributions in binary form must reproduce the above copyright 221.1Seeh * notice, this list of conditions and the following disclaimer in the 231.1Seeh * documentation and/or other materials provided with the distribution. 241.1Seeh * 3. All advertising materials mentioning features or use of this software 251.1Seeh * must display the following acknowledgement: 261.1Seeh * This product includes software developed by the University of 271.1Seeh * California, Berkeley and its contributors. 281.1Seeh * 4. Neither the name of the University nor the names of its contributors 291.1Seeh * may be used to endorse or promote products derived from this software 301.1Seeh * without specific prior written permission. 311.1Seeh * 321.1Seeh * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 331.1Seeh * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 341.1Seeh * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 351.1Seeh * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 361.1Seeh * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 371.1Seeh * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 381.1Seeh * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 391.1Seeh * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 401.1Seeh * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 411.1Seeh * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 421.1Seeh * SUCH DAMAGE. 431.1Seeh * 441.1Seeh * @(#)proc.h 8.1 (Berkeley) 6/11/93 451.1Seeh */ 461.1Seeh 471.1Seeh/* 481.1Seeh * Machine-dependent part of the proc structure for SPARC. 491.1Seeh */ 501.1Seehstruct mdproc { 511.1Seeh struct trapframe *md_tf; /* trap/syscall registers */ 521.1Seeh struct fpstate *md_fpstate; /* fpu state, if any; always resident */ 531.1Seeh u_long md_flags; 541.1Seeh}; 551.1Seeh 561.1Seeh/* md_flags */ 571.1Seeh#define MDP_FIXALIGN 0x1 /* Fix unaligned memory accesses */ 58