reorg rtos and rname patforms to platforms