xref: /freebsd/sys/powerpc/include/ptrace.h (revision 29363fb446372cb3f10bc98664e9767c53fbb457)
160727d8bSWarner Losh /*-
251369649SPedro F. Giffuni  * SPDX-License-Identifier: BSD-3-Clause
351369649SPedro F. Giffuni  *
464b83a05SJustin Hibbits  * Copyright (c) 2014 Justin Hibbits
564b83a05SJustin Hibbits  * All rights reserved.
66cda32c0SRodney W. Grimes  *
76cda32c0SRodney W. Grimes  * Redistribution and use in source and binary forms, with or without
86cda32c0SRodney W. Grimes  * modification, are permitted provided that the following conditions
96cda32c0SRodney W. Grimes  * are met:
106cda32c0SRodney W. Grimes  * 1. Redistributions of source code must retain the above copyright
116cda32c0SRodney W. Grimes  *    notice, this list of conditions and the following disclaimer.
126cda32c0SRodney W. Grimes  * 2. Redistributions in binary form must reproduce the above copyright
136cda32c0SRodney W. Grimes  *    notice, this list of conditions and the following disclaimer in the
146cda32c0SRodney W. Grimes  *    documentation and/or other materials provided with the distribution.
15fbbd9655SWarner Losh  * 3. Neither the name of the University nor the names of its contributors
166cda32c0SRodney W. Grimes  *    may be used to endorse or promote products derived from this software
176cda32c0SRodney W. Grimes  *    without specific prior written permission.
186cda32c0SRodney W. Grimes  *
196cda32c0SRodney W. Grimes  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
206cda32c0SRodney W. Grimes  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
216cda32c0SRodney W. Grimes  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
226cda32c0SRodney W. Grimes  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
236cda32c0SRodney W. Grimes  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
246cda32c0SRodney W. Grimes  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
256cda32c0SRodney W. Grimes  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
266cda32c0SRodney W. Grimes  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
276cda32c0SRodney W. Grimes  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
286cda32c0SRodney W. Grimes  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
296cda32c0SRodney W. Grimes  * SUCH DAMAGE.
306cda32c0SRodney W. Grimes  */
316cda32c0SRodney W. Grimes 
32bf6024eeSPeter Wemm #ifndef _MACHINE_PTRACE_H_
33bf6024eeSPeter Wemm #define _MACHINE_PTRACE_H_
34bf6024eeSPeter Wemm 
3564b83a05SJustin Hibbits #define	__HAVE_PTRACE_MACHDEP
3664b83a05SJustin Hibbits 
3764b83a05SJustin Hibbits #define PT_GETVRREGS	(PT_FIRSTMACH + 0)
3864b83a05SJustin Hibbits #define PT_SETVRREGS	(PT_FIRSTMACH + 1)
39*2e655675SJustin Hibbits #define PT_GETVSRREGS	(PT_FIRSTMACH + 2)
40*2e655675SJustin Hibbits #define PT_SETVSRREGS	(PT_FIRSTMACH + 3)
4164b83a05SJustin Hibbits 
42664a31e4SPeter Wemm #endif
43