Move TLS behind hal.

Change-Id: I9e84acb3736bc98fa5fb0720bddb13a030285319
7 files changed