I’d like to ask a techincal a question.
I’m using a Philips LPC2378 microcontroller, which has a separate register set for handling FIQ interrupts.
Does it mean, that this makes context saving upon entry unnecessary, so I needn’t (and shouldn’t) use portSAVE_CONTEXT(), and portRESTORE_CONTEXT() upon entry, and exit from the interrupt handler?
Or are there parts of the context that still need to be saved?
Is it safe to call FreeRTOS functions from such a ‘plain’ FIQ interrupt?
Btw, what’s the difference between the portSAVE/RESTORE combo and using GCC’s builtin __attribute(“IRQ”/“FIQ”)__ function attributes?