xref: /utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/asm/sysmips.h (revision 53ee8cc121a030b8d368113ac3e966b4705770ef)
1*53ee8cc1Swenshuai.xi /*
2*53ee8cc1Swenshuai.xi  * Definitions for the MIPS sysmips(2) call
3*53ee8cc1Swenshuai.xi  *
4*53ee8cc1Swenshuai.xi  * This file is subject to the terms and conditions of the GNU General Public
5*53ee8cc1Swenshuai.xi  * License.  See the file "COPYING" in the main directory of this archive
6*53ee8cc1Swenshuai.xi  * for more details.
7*53ee8cc1Swenshuai.xi  *
8*53ee8cc1Swenshuai.xi  * Copyright (C) 1995 by Ralf Baechle
9*53ee8cc1Swenshuai.xi  */
10*53ee8cc1Swenshuai.xi #ifndef _ASM_SYSMIPS_H
11*53ee8cc1Swenshuai.xi #define _ASM_SYSMIPS_H
12*53ee8cc1Swenshuai.xi 
13*53ee8cc1Swenshuai.xi /*
14*53ee8cc1Swenshuai.xi  * Commands for the sysmips(2) call
15*53ee8cc1Swenshuai.xi  *
16*53ee8cc1Swenshuai.xi  * sysmips(2) is deprecated - though some existing software uses it.
17*53ee8cc1Swenshuai.xi  * We only support the following commands.
18*53ee8cc1Swenshuai.xi  */
19*53ee8cc1Swenshuai.xi #define SETNAME                    1	/* set hostname                  */
20*53ee8cc1Swenshuai.xi #define FLUSH_CACHE		   3	/* writeback and invalidate caches */
21*53ee8cc1Swenshuai.xi #define MIPS_FIXADE                7	/* control address error fixing  */
22*53ee8cc1Swenshuai.xi #define MIPS_RDNVRAM              10	/* read NVRAM */
23*53ee8cc1Swenshuai.xi #define MIPS_ATOMIC_SET		2001	/* atomically set variable       */
24*53ee8cc1Swenshuai.xi 
25*53ee8cc1Swenshuai.xi #endif /* _ASM_SYSMIPS_H */
26