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