Added SVN variant of hardware.cpp

Signed-off-by: Maximilien Noal <noal.maximilien@gmail.com>