points
This is called a hardware abstraction layer, not OS.
https://en.wikipedia.org/wiki/Hardware_abstraction