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