repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
WIP FPC-III support
[linux/fpc-iii.git]
/
arch
/
mips
/
include
/
asm
/
mips-boards
/
sim.h
blob
ca37a4f3292343f7ccc3b8a4f33655fa6ae4c389
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
/*
3
* Copyright (C) 2005 MIPS Technologies, Inc. All rights reserved.
4
*/
5
6
#ifndef _ASM_MIPS_BOARDS_SIM_H
7
#define _ASM_MIPS_BOARDS_SIM_H
8
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
15
16
17
#define simcfg(code) \
18
({ \
19
__asm__ __volatile__( \
20
"sltiu $0,$0, %0"
\
21
::
"i"
(code) \
22
); \
23
})
24
25
26
27
#endif