The Pedigree Project  0.1
fpu.h
1 /*
2  * Copyright (c) 2008-2014, Pedigree Developers
3  *
4  * Please see the CONTRIB file in the root of the source tree for a full
5  * list of contributors.
6  *
7  * Permission to use, copy, modify, and distribute this software for any
8  * purpose with or without fee is hereby granted, provided that the above
9  * copyright notice and this permission notice appear in all copies.
10  *
11  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18  */
19 
20 #ifndef __X86EMU_FPU_H
21 #define __X86EMU_FPU_H
22 
23 #ifdef __cplusplus
24 extern "C" { /* Use "C" linkage when in C++ mode */
25 #endif
26 
27 /* these have to be defined, whether 8087 support compiled in or not. */
28 
29 extern void x86emuOp_esc_coprocess_d8(u8 op1);
30 extern void x86emuOp_esc_coprocess_d9(u8 op1);
31 extern void x86emuOp_esc_coprocess_da(u8 op1);
32 extern void x86emuOp_esc_coprocess_db(u8 op1);
33 extern void x86emuOp_esc_coprocess_dc(u8 op1);
34 extern void x86emuOp_esc_coprocess_dd(u8 op1);
35 extern void x86emuOp_esc_coprocess_de(u8 op1);
36 extern void x86emuOp_esc_coprocess_df(u8 op1);
37 
38 #ifdef __cplusplus
39 } /* End of "C" linkage for C++ */
40 #endif
41 
42 #endif /* __X86EMU_FPU_H */