Refactor TcRnDriver, and check exports on hi-boot files