proc.h revision 207152
1213904Sandreast/*- 2213904Sandreast * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3213904Sandreast * Copyright (C) 1995, 1996 TooLs GmbH. 4213904Sandreast * All rights reserved. 5213904Sandreast * 6213904Sandreast * Redistribution and use in source and binary forms, with or without 7213904Sandreast * modification, are permitted provided that the following conditions 8213904Sandreast * are met: 9213904Sandreast * 1. Redistributions of source code must retain the above copyright 10213904Sandreast * notice, this list of conditions and the following disclaimer. 11213904Sandreast * 2. Redistributions in binary form must reproduce the above copyright 12213904Sandreast * notice, this list of conditions and the following disclaimer in the 13213904Sandreast * documentation and/or other materials provided with the distribution. 14213904Sandreast * 3. All advertising materials mentioning features or use of this software 15213904Sandreast * must display the following acknowledgement: 16213904Sandreast * This product includes software developed by TooLs GmbH. 17213904Sandreast * 4. The name of TooLs GmbH may not be used to endorse or promote products 18213904Sandreast * derived from this software without specific prior written permission. 19213904Sandreast * 20213904Sandreast * THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR 21213904Sandreast * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 22213904Sandreast * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 23213904Sandreast * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24213904Sandreast * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 25213904Sandreast * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 26213904Sandreast * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 27213904Sandreast * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 28213904Sandreast * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 29213904Sandreast * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30213904Sandreast * 31213904Sandreast * $NetBSD: proc.h,v 1.2 1997/04/16 22:57:48 thorpej Exp $ 32213904Sandreast * $FreeBSD: head/sys/powerpc/include/proc.h 207152 2010-04-24 12:49:52Z kib $ 33213904Sandreast */ 34213904Sandreast 35213904Sandreast#ifndef _MACHINE_PROC_H_ 36213904Sandreast#define _MACHINE_PROC_H_ 37213904Sandreast 38213904Sandreast/* 39213904Sandreast * Machine-dependent part of the proc structure 40213904Sandreast */ 41213904Sandreaststruct mdthread { 42213904Sandreast int md_spinlock_count; /* (k) */ 43213904Sandreast register_t md_saved_msr; /* (k) */ 44213904Sandreast}; 45213904Sandreast 46213904Sandreaststruct mdproc { 47213904Sandreast}; 48213904Sandreast 49213904Sandreast#define KINFO_PROC_SIZE 768 50213904Sandreast 51213904Sandreast#endif /* !_MACHINE_PROC_H_ */ 52222458Snwhitehorn