GDBserver
|
00001 /* i387-specific utility functions, for the remote server for GDB. 00002 Copyright (C) 2000-2013 Free Software Foundation, Inc. 00003 00004 This file is part of GDB. 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 3 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00018 00019 #ifndef I387_FP_H 00020 #define I387_FP_H 00021 00022 void i387_cache_to_fsave (struct regcache *regcache, void *buf); 00023 void i387_fsave_to_cache (struct regcache *regcache, const void *buf); 00024 00025 void i387_cache_to_fxsave (struct regcache *regcache, void *buf); 00026 void i387_fxsave_to_cache (struct regcache *regcache, const void *buf); 00027 00028 void i387_cache_to_xsave (struct regcache *regcache, void *buf); 00029 void i387_xsave_to_cache (struct regcache *regcache, const void *buf); 00030 00031 extern unsigned long long x86_xcr0; 00032 00033 #endif /* I387_FP_H */