fixed passing of incorrect registers to second stage interrupt handlers
merge