Hi, experts,
My customer wants to mask IRQs of some priorities, and he finds VIM_IRQPRIMSK register in AM263x Register Addendum (spruj42c).
But I find both VIM_IRQPRIMSK and VIM_FIQPRIMSK are not included in .h files, corresponding register addresses are marked as reserved.
Customers have tested by setting VIM_IRQPRIMSK register but did not get expected behavior. For example, they set VIM_IRQPRIMSK to 0x07 to only enable ISRs with priorities of 0/1/2, and mask other ISRs with lower priorities. With this VIM_IRQPRIMSK setting, even ISRs with priorities of 0/1/2 were not triggered. They also tried to set VIM_IRQPRIMSK to 0xFFFF to enable ISRs of all priorities, but no ISRs were tried.
In customers' use case, they need to mask particular priorities in application code, so please help to guide the way to disable IRQs of a particular priority. Thanks.