1 #ifndef AROS_M68K_FPUCONTEXT_H
2 #define AROS_M68K_FPUCONTEXT_H
4 #include <aros/asmcall.h>
6 #include <aros/m68k/fenv.h>
9 fenv_t fpenv
; /* User-visible status register */
10 UBYTE fp
[8*12]; /* 8 FP registers of 12 bytes */
16 } fsave
; /* FSAVE context (CPU specific) */
19 /* Defined in arch/m68k-all/kernel/?.S */
21 AROS_UFP2(void, FpuSaveContext
,
22 AROS_UFPA(struct FpuContext
*, fpu
, A0
),
23 AROS_UFHA(UWORD
, nulloffset
, D0
));
25 AROS_UFP2(void, FpuRestoreContext
,
26 AROS_UFPA(struct FpuContext
*, fpu
, A0
),
27 AROS_UFPA(UWORD
, nulloffset
, D0
));