18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Definitions for the MIPS sysmips(2) call
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
68c2ecf20Sopenharmony_ci * License.  See the file "COPYING" in the main directory of this archive
78c2ecf20Sopenharmony_ci * for more details.
88c2ecf20Sopenharmony_ci *
98c2ecf20Sopenharmony_ci * Copyright (C) 1995 by Ralf Baechle
108c2ecf20Sopenharmony_ci */
118c2ecf20Sopenharmony_ci#ifndef _ASM_SYSMIPS_H
128c2ecf20Sopenharmony_ci#define _ASM_SYSMIPS_H
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci/*
158c2ecf20Sopenharmony_ci * Commands for the sysmips(2) call
168c2ecf20Sopenharmony_ci *
178c2ecf20Sopenharmony_ci * sysmips(2) is deprecated - though some existing software uses it.
188c2ecf20Sopenharmony_ci * We only support the following commands.
198c2ecf20Sopenharmony_ci */
208c2ecf20Sopenharmony_ci#define SETNAME			   1	/* set hostname			 */
218c2ecf20Sopenharmony_ci#define FLUSH_CACHE		   3	/* writeback and invalidate caches */
228c2ecf20Sopenharmony_ci#define MIPS_FIXADE		   7	/* control address error fixing	 */
238c2ecf20Sopenharmony_ci#define MIPS_RDNVRAM		  10	/* read NVRAM */
248c2ecf20Sopenharmony_ci#define MIPS_ATOMIC_SET		2001	/* atomically set variable	 */
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci#endif /* _ASM_SYSMIPS_H */
27