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