Modify the interrupt interface implementations and changes some parameters definition

Remain the old handler to keep forward compatibility