Isolate linux specific register getters / setters
Isolate linux specific memory reading in threads file