xref: /freebsd/sys/arm/include/proc.h (revision 29363fb4)
1d8315c79SWarner Losh /*-
2df57947fSPedro F. Giffuni  * SPDX-License-Identifier: BSD-4-Clause
3df57947fSPedro F. Giffuni  *
46fc729afSOlivier Houchard  * Copyright (c) 1991 Regents of the University of California.
56fc729afSOlivier Houchard  * All rights reserved.
66fc729afSOlivier Houchard  *
76fc729afSOlivier Houchard  * Redistribution and use in source and binary forms, with or without
86fc729afSOlivier Houchard  * modification, are permitted provided that the following conditions
96fc729afSOlivier Houchard  * are met:
106fc729afSOlivier Houchard  * 1. Redistributions of source code must retain the above copyright
116fc729afSOlivier Houchard  *    notice, this list of conditions and the following disclaimer.
126fc729afSOlivier Houchard  * 2. Redistributions in binary form must reproduce the above copyright
136fc729afSOlivier Houchard  *    notice, this list of conditions and the following disclaimer in the
146fc729afSOlivier Houchard  *    documentation and/or other materials provided with the distribution.
156fc729afSOlivier Houchard  * 3. All advertising materials mentioning features or use of this software
166fc729afSOlivier Houchard  *    must display the following acknowledgement:
176fc729afSOlivier Houchard  *      This product includes software developed by the University of
186fc729afSOlivier Houchard  *      California, Berkeley and its contributors.
196fc729afSOlivier Houchard  * 4. Neither the name of the University nor the names of its contributors
206fc729afSOlivier Houchard  *    may be used to endorse or promote products derived from this software
216fc729afSOlivier Houchard  *    without specific prior written permission.
226fc729afSOlivier Houchard  *
236fc729afSOlivier Houchard  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
246fc729afSOlivier Houchard  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
256fc729afSOlivier Houchard  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
266fc729afSOlivier Houchard  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
276fc729afSOlivier Houchard  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
286fc729afSOlivier Houchard  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
296fc729afSOlivier Houchard  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
306fc729afSOlivier Houchard  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
316fc729afSOlivier Houchard  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
326fc729afSOlivier Houchard  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
336fc729afSOlivier Houchard  * SUCH DAMAGE.
346fc729afSOlivier Houchard  *	from: FreeBSD: src/sys/i386/include/proc.h,v 1.11 2001/06/29
356fc729afSOlivier Houchard  */
366fc729afSOlivier Houchard 
376fc729afSOlivier Houchard #ifndef	_MACHINE_PROC_H_
386fc729afSOlivier Houchard #define	_MACHINE_PROC_H_
396fc729afSOlivier Houchard 
406fc729afSOlivier Houchard struct mdthread {
41c6a37e84SJohn Baldwin 	int	md_spinlock_count;	/* (k) */
42c6a37e84SJohn Baldwin 	register_t md_saved_cspr;	/* (k) */
437e55f8c1SIan Lepore 	register_t md_spurflt_addr;     /* (k) Spurious page fault address. */
449026d36cSOlivier Houchard 	int md_ptrace_instr;
459026d36cSOlivier Houchard 	int md_ptrace_addr;
46232e189aSZbigniew Bodek 	int md_ptrace_instr_alt;
47232e189aSZbigniew Bodek 	int md_ptrace_addr_alt;
486fc729afSOlivier Houchard };
496fc729afSOlivier Houchard 
506fc729afSOlivier Houchard struct mdproc {
51c47a4a23SWarner Losh 	long	md_dummy;
526fc729afSOlivier Houchard };
536fc729afSOlivier Houchard 
549fd57b44SAndrew Turner #define	KINFO_PROC_SIZE 816
55ed780687SKonstantin Belousov 
566fc729afSOlivier Houchard #endif /* !_MACHINE_PROC_H_ */
57