When initializing the VR4310, use of co-processors CP0 and CP1 is enabled and the kernel is initialized.
However, in the main routine following kernel initialization, CP1 use becomes disabled and a CP1 use-disabled
exception occurs when the FPU instruction is executed.
I tried to enable CP0 and CP1 in other locations, but it seems these co-processors become use-disabled
when a system call is executed.
As a temporary workaround, I disable the interrupts immediately before the FPU,
and then I enable CP0 and CP1.
Is there a better method (such as setting information to the kernel)?
Environment
CPU: V4310
Kernel: RX4000
Compiler: Green Hills
Debugger: Partner ET2