proc.h revision 1.3
11.3Sthorpej/* $NetBSD: proc.h,v 1.3 2003/01/18 06:55:22 thorpej 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.3Sthorpej#ifndef _SPARC64_PROC_H 481.3Sthorpej#define _SPARC64_PROC_H 491.3Sthorpej 501.3Sthorpejstruct mdlwp { 511.3Sthorpej struct trapframe64 *md_tf; /* trap/syscall registers */ 521.3Sthorpej struct fpstate64 *md_fpstate; /* fpu state, if any; always resident */ 531.3Sthorpej struct pcb *md_pcbpaddr; /* phys addr of the pcb */ 541.3Sthorpej u_long md_flags; 551.3Sthorpej}; 561.1Seeh/* 571.1Seeh * Machine-dependent part of the proc structure for SPARC. 581.1Seeh */ 591.1Seehstruct mdproc { 601.1Seeh}; 611.1Seeh 621.1Seeh/* md_flags */ 631.1Seeh#define MDP_FIXALIGN 0x1 /* Fix unaligned memory accesses */ 641.3Sthorpej 651.3Sthorpej#endif /* _SPARC64_PROC_H */ 66