mach-msm:Platform re-write by Vishnu Das