Use MSI chip framework to refactor arch MSI code