On some bare-metal environments we may need to customize ks.device interface.