2005-04-16 22:20:36 +00: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 19:16:12 +00:00
|
|
|
#define FPSTATESIZE (216)
|
2005-04-16 22:20:36 +00:00
|
|
|
#elif defined(CONFIG_M68040)
|
2008-07-17 19:16:12 +00:00
|
|
|
#define FPSTATESIZE (96)
|
2005-04-16 22:20:36 +00:00
|
|
|
#elif defined(CONFIG_M68KFPU_EMU)
|
2008-07-17 19:16:12 +00:00
|
|
|
#define FPSTATESIZE (28)
|
2005-04-16 22:20:36 +00:00
|
|
|
#elif defined(CONFIG_M68060)
|
2008-07-17 19:16:12 +00:00
|
|
|
#define FPSTATESIZE (12)
|
2005-04-16 22:20:36 +00:00
|
|
|
#else
|
2008-07-17 19:16:12 +00:00
|
|
|
#define FPSTATESIZE (0)
|
2005-04-16 22:20:36 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __M68K_FPU_H */
|