would be nice to get interrupt vectors from this. for x86 this can be done in inline asm with the sidt instruction