WIP FPC-III support
[linux/fpc-iii.git] / arch / mips / include / asm / mips-boards / sim.h
blobca37a4f3292343f7ccc3b8a4f33655fa6ae4c389
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2005 MIPS Technologies, Inc. All rights reserved.
4 */
6 #ifndef _ASM_MIPS_BOARDS_SIM_H
7 #define _ASM_MIPS_BOARDS_SIM_H
9 #define STATS_ON 1
10 #define STATS_OFF 2
11 #define STATS_CLEAR 3
12 #define STATS_DUMP 4
13 #define TRACE_ON 5
14 #define TRACE_OFF 6
17 #define simcfg(code) \
18 ({ \
19 __asm__ __volatile__( \
20 "sltiu $0,$0, %0" \
21 ::"i"(code) \
22 ); \
27 #endif