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