>>28
>>29
I think a trap exception could work, since it disables interrupts, and the general exception vector is used rarely enough that adding a special case for this purpose there wouldn't be too expensive.
>>30
The syscall vector is probably too performance critical to be used for that purpose.