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