Add support for asynchronous software traps