xref: /qemu/bsd-user/riscv/target_arch.h (revision 35ba77d2fcd10efd6db8318bbd4d21fa9402143b)
1*83726b77SMark Corbin /*
2*83726b77SMark Corbin  * RISC-V specific prototypes
3*83726b77SMark Corbin  *
4*83726b77SMark Corbin  * Copyright (c) 2019 Mark Corbin <mark.corbin@embecsom.com>
5*83726b77SMark Corbin  *
6*83726b77SMark Corbin  * This library is free software; you can redistribute it and/or
7*83726b77SMark Corbin  * modify it under the terms of the GNU Lesser General Public
8*83726b77SMark Corbin  * License as published by the Free Software Foundation; either
9*83726b77SMark Corbin  * version 2 of the License, or (at your option) any later version.
10*83726b77SMark Corbin  *
11*83726b77SMark Corbin  * This library is distributed in the hope that it will be useful,
12*83726b77SMark Corbin  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13*83726b77SMark Corbin  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14*83726b77SMark Corbin  * Lesser General Public License for more details.
15*83726b77SMark Corbin  *
16*83726b77SMark Corbin  * You should have received a copy of the GNU Lesser General Public
17*83726b77SMark Corbin  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18*83726b77SMark Corbin  */
19*83726b77SMark Corbin 
20*83726b77SMark Corbin #ifndef TARGET_ARCH_H
21*83726b77SMark Corbin #define TARGET_ARCH_H
22*83726b77SMark Corbin 
23*83726b77SMark Corbin #include "qemu.h"
24*83726b77SMark Corbin 
25*83726b77SMark Corbin void target_cpu_set_tls(CPURISCVState *env, target_ulong newtls);
26*83726b77SMark Corbin 
27*83726b77SMark Corbin #endif /* TARGET_ARCH_H */
28