2005-04-17 02:20:36 +04:00
|
|
|
#ifndef __M68K_FPU_H
|
|
|
|
#define __M68K_FPU_H
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* MAX floating point unit state size (FSAVE/FRESTORE)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(CONFIG_M68020) || defined(CONFIG_M68030)
|
2008-07-17 23:16:12 +04:00
|
|
|
#define FPSTATESIZE (216)
|
2005-04-17 02:20:36 +04:00
|
|
|
#elif defined(CONFIG_M68040)
|
2008-07-17 23:16:12 +04:00
|
|
|
#define FPSTATESIZE (96)
|
2005-04-17 02:20:36 +04:00
|
|
|
#elif defined(CONFIG_M68KFPU_EMU)
|
2008-07-17 23:16:12 +04:00
|
|
|
#define FPSTATESIZE (28)
|
2005-04-17 02:20:36 +04:00
|
|
|
#elif defined(CONFIG_M68060)
|
2008-07-17 23:16:12 +04:00
|
|
|
#define FPSTATESIZE (12)
|
2005-04-17 02:20:36 +04:00
|
|
|
#else
|
2008-07-17 23:16:12 +04:00
|
|
|
#define FPSTATESIZE (0)
|
2005-04-17 02:20:36 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __M68K_FPU_H */
|