/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __M68K_FPU_H #define __M68K_FPU_H /* * MAX floating point unit state size (FSAVE/FRESTORE) */ #if defined([31mCONFIG_M68020[0m) || defined([31mCONFIG_M68030[0m) #define FPSTATESIZE (216) #elif defined([31mCONFIG_M68040[0m) #define FPSTATESIZE (96) #elif defined([31mCONFIG_M68KFPU_EMU[0m) #define FPSTATESIZE (28) #elif defined([31mCONFIG_COLDFIRE[0m) && defined([31mCONFIG_MMU[0m) #define FPSTATESIZE (16) #elif defined([31mCONFIG_M68060[0m) #define FPSTATESIZE (12) #else #define FPSTATESIZE (0) #endif #endif /* __M68K_FPU_H */ |