I am evaluating using FreeRTOS on a 486. I understand that FreeRTOS does not support FP as is. It appears to me that the only thing I need to modify is the context switch so that the floating point registers are preserved. Are there any other issues? I’m using a Borland 5.02 development environment.
If you are using hardware floating point then that is ok, the registers need to be added to the context. If you are using software floating point then this is not the case as the Borland floating point libraries are not re-entrant. There is some way of allocating a different area of memory to each task to hold the (non re-entrant) data. This could probably be found with a little googling.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.