Closed zhuotianshu closed 8 months ago
The value of mtopi
.IID can be greater than 63 only with another extension, which might be a custom extension or a future standard one. By specifying field IID in mtopi
as 12 bits wide, the AIA is pre-allocating space in mtopi
for such an extension. But the current AIA does no more, itself supporting only values up to 63.
An extension that allows for interrupt numbers > 63 will need to specify what is missing, including modifying the existing rules for when a trap is taken.
Today, the expectation is that only custom extensions might use interrupt numbers greater than 63. But it's always possible that the RVIA may someday choose to ratify a new standard extension that does so.
@jhauser-us Understood. Thank you very much!
On page 61:
The mtopi actually allows IID>63. But the Privilege spec says:
The mip and mie cannot be wider than 64, so why are they compliant?