platform specific interrupt control

Sanjay Patel <spatel@...>


The definition of the interrupt pending and enable registers, example mip and mie, define bits 16 and above as available for platform or custom use.

Section 3.1.9 Machine Interrupt Registers (mip and mie

Bits 15:0 are allocated to standard interrupt causes only, while bits 16 and above are available for platform or custom use.

The delegation registers have no similar explicit definition unless I missed it. I will assume that bits 16 and above of mideleg for example are similarly available for platform or custom use.
To be otherwise wouldn't make sense because there is a bit to bit corresponding between all 3 registers. Can these bits be safely implemented in the manner described?


Join { to automatically receive all group messages.