162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Definitions for the MIPS sysmips(2) call 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 662306a36Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 762306a36Sopenharmony_ci * for more details. 862306a36Sopenharmony_ci * 962306a36Sopenharmony_ci * Copyright (C) 1995 by Ralf Baechle 1062306a36Sopenharmony_ci */ 1162306a36Sopenharmony_ci#ifndef _ASM_SYSMIPS_H 1262306a36Sopenharmony_ci#define _ASM_SYSMIPS_H 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci/* 1562306a36Sopenharmony_ci * Commands for the sysmips(2) call 1662306a36Sopenharmony_ci * 1762306a36Sopenharmony_ci * sysmips(2) is deprecated - though some existing software uses it. 1862306a36Sopenharmony_ci * We only support the following commands. 1962306a36Sopenharmony_ci */ 2062306a36Sopenharmony_ci#define SETNAME 1 /* set hostname */ 2162306a36Sopenharmony_ci#define FLUSH_CACHE 3 /* writeback and invalidate caches */ 2262306a36Sopenharmony_ci#define MIPS_FIXADE 7 /* control address error fixing */ 2362306a36Sopenharmony_ci#define MIPS_RDNVRAM 10 /* read NVRAM */ 2462306a36Sopenharmony_ci#define MIPS_ATOMIC_SET 2001 /* atomically set variable */ 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci#endif /* _ASM_SYSMIPS_H */ 27