Entry | |
---|---|
R0 | Vector number x 256 |
R1 | Address of replacement routine |
R2 | Address of your routine |
Exit | |
---|---|
R0 | Preserved |
R1 | Address of original routine |
R2 | Preserved |
The purpose of this call is to claim a processor vector.
This call is used to allow low-level code to claim the ARM’s hardware vectors which are called when interrupts and aborts occur.
The address off your routine must be provided on release to ensure claims and releases happen in the correct order. If the address currently on the vector differs from that in R2, an error is returned.