xref: /netbsd-src/sys/arch/hpcmips/vr/vr_asm.h (revision ae6160e2337d23310ff805902f3683426721897f)
1*ae6160e2Stakemura /*	$NetBSD: vr_asm.h,v 1.1 2000/01/28 15:08:38 takemura Exp $	*/
2*ae6160e2Stakemura 
3*ae6160e2Stakemura /*-
4*ae6160e2Stakemura  * Copyright (c) 1999
5*ae6160e2Stakemura  *         Shin Takemura and PocketBSD Project. All rights reserved.
6*ae6160e2Stakemura  *
7*ae6160e2Stakemura  * Redistribution and use in source and binary forms, with or without
8*ae6160e2Stakemura  * modification, are permitted provided that the following conditions
9*ae6160e2Stakemura  * are met:
10*ae6160e2Stakemura  * 1. Redistributions of source code must retain the above copyright
11*ae6160e2Stakemura  *    notice, this list of conditions and the following disclaimer.
12*ae6160e2Stakemura  * 2. Redistributions in binary form must reproduce the above copyright
13*ae6160e2Stakemura  *    notice, this list of conditions and the following disclaimer in the
14*ae6160e2Stakemura  *    documentation and/or other materials provided with the distribution.
15*ae6160e2Stakemura  * 3. All advertising materials mentioning features or use of this software
16*ae6160e2Stakemura  *    must display the following acknowledgement:
17*ae6160e2Stakemura  *	This product includes software developed by the PocketBSD project
18*ae6160e2Stakemura  *	and its contributors.
19*ae6160e2Stakemura  * 4. Neither the name of the project nor the names of its contributors
20*ae6160e2Stakemura  *    may be used to endorse or promote products derived from this software
21*ae6160e2Stakemura  *    without specific prior written permission.
22*ae6160e2Stakemura  *
23*ae6160e2Stakemura  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24*ae6160e2Stakemura  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25*ae6160e2Stakemura  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26*ae6160e2Stakemura  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27*ae6160e2Stakemura  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28*ae6160e2Stakemura  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29*ae6160e2Stakemura  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30*ae6160e2Stakemura  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31*ae6160e2Stakemura  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32*ae6160e2Stakemura  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33*ae6160e2Stakemura  * SUCH DAMAGE.
34*ae6160e2Stakemura  *
35*ae6160e2Stakemura  */
36*ae6160e2Stakemura 
37*ae6160e2Stakemura /*
38*ae6160e2Stakemura  *  special instructions, which are not supported by assembler.
39*ae6160e2Stakemura  */
40*ae6160e2Stakemura #define VR_OPCODE_STANDBY	0x42000021
41*ae6160e2Stakemura #define VR_OPCODE_SUSPEND	0x42000022
42*ae6160e2Stakemura #define VR_OPCODE_HIBERNATE	0x42000023
43