xref: /openbmc/qemu/bsd-user/aarch64/target_arch.h (revision 1541d87d)
11acce771SStacey Son /*
21acce771SStacey Son  * ARM AArch64 specific prototypes for bsd-user
31acce771SStacey Son  *
41acce771SStacey Son  * Copyright (c) 2015 Stacey D. Son <sson at FreeBSD>
51acce771SStacey Son  *
61acce771SStacey Son  * This library is free software; you can redistribute it and/or
71acce771SStacey Son  * modify it under the terms of the GNU Lesser General Public
81acce771SStacey Son  * License as published by the Free Software Foundation; either
91acce771SStacey Son  * version 2 of the License, or (at your option) any later version.
101acce771SStacey Son  *
111acce771SStacey Son  * This library is distributed in the hope that it will be useful,
121acce771SStacey Son  * but WITHOUT ANY WARRANTY; without even the implied warranty of
131acce771SStacey Son  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
141acce771SStacey Son  * Lesser General Public License for more details.
151acce771SStacey Son  *
161acce771SStacey Son  * You should have received a copy of the GNU Lesser General Public
171acce771SStacey Son  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
181acce771SStacey Son  */
191acce771SStacey Son 
201acce771SStacey Son #ifndef TARGET_ARCH_H
211acce771SStacey Son #define TARGET_ARCH_H
221acce771SStacey Son 
231acce771SStacey Son #include "qemu.h"
24*1541d87dSWarner Losh #include "target/arm/cpu-features.h"
251acce771SStacey Son 
261acce771SStacey Son void target_cpu_set_tls(CPUARMState *env, target_ulong newtls);
271acce771SStacey Son target_ulong target_cpu_get_tls(CPUARMState *env);
281acce771SStacey Son 
291acce771SStacey Son #endif /* TARGET_ARCH_H */
30