add msr exception bits setting function in hardware