Is there primask core register in cortex-R5
I doubt, but need to check the manual.
I believe there is no priority mask register on CR5. You may want to use Vectored Interrupt Controller (PL192) with CR5.