]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
34055b80 GU |
2 | #ifndef __M68K_FPU_H |
3 | #define __M68K_FPU_H | |
4 | ||
5 | ||
6 | /* | |
7 | * MAX floating point unit state size (FSAVE/FRESTORE) | |
8 | */ | |
9 | ||
10 | #if defined(CONFIG_M68020) || defined(CONFIG_M68030) | |
11 | #define FPSTATESIZE (216) | |
12 | #elif defined(CONFIG_M68040) | |
13 | #define FPSTATESIZE (96) | |
14 | #elif defined(CONFIG_M68KFPU_EMU) | |
15 | #define FPSTATESIZE (28) | |
0a2796da GU |
16 | #elif defined(CONFIG_COLDFIRE) && defined(CONFIG_MMU) |
17 | #define FPSTATESIZE (16) | |
34055b80 GU |
18 | #elif defined(CONFIG_M68060) |
19 | #define FPSTATESIZE (12) | |
49148020 | 20 | #else |
34055b80 | 21 | #define FPSTATESIZE (0) |
49148020 | 22 | #endif |
34055b80 GU |
23 | |
24 | #endif /* __M68K_FPU_H */ |