|
Hi Jason,
> All M68040 configs require FPSP...
Not necessarily true if you prefer to run soft float.
My current kernel config has options M68030 and M68040 which I use with a soft float userland.
Also I don't think FPSP is required for an LC040 when used with options FPU_EMULATE.
Attached is my attempt at addressing this....It would mean changing every existing instance of M68040 to options M68040HF :(
Removing FPSP on a kernel with FPU_EMULATE reduced the kernel size ~200kB of much needed memory.
Best regards,
Nat
|
diff -r df3433e23614 sys/arch/m68k/conf/files.m68k --- a/sys/arch/m68k/conf/files.m68k Wed Aug 05 01:43:11 2026 +0000 +++ b/sys/arch/m68k/conf/files.m68k Thu Aug 06 11:53:18 2026 +1000 @@ -25,7 +25,8 @@ defflag opt_m68k_arch.h M68010 defflag opt_m68k_arch.h M68020: M68K_FPCOPROC defflag opt_m68k_arch.h M68030: M68K_MMU_68030, M68K_FPCOPROC -defflag opt_m68k_arch.h M68040: M68K_MMU_68040, M68K_FPCOPROC, FPSP +defflag opt_m68k_arch.h M68040: M68K_MMU_68040, M68K_FPCOPROC +defflag opt_m68k_arch.h M68040HF: M68040, FPSP defflag opt_m68k_arch.h M68060: M68K_MMU_68060, M68K_FPCOPROC, M060SP # Emit Makefile vars for these kernel options so that compiler flags