Implement hwtimer for x86