2c2
< * Copyright (c) 2004-2005 The Regents of The University of Michigan
---
> * Copyright (c) 2008 The Regents of The University of Michigan
39a40
> #include "dev/intel_8254_timer.hh"
50a52
> southBridge = NULL;
54a57,70
> void
> PC::init()
> {
> assert(southBridge);
> Intel8254Timer & timer = southBridge->pit.pit;
> //Timer 0, mode 2, no bcd, 16 bit count
> timer.writeControl(0x34);
> //Timer 0, latch command
> timer.writeControl(0x00);
> //Write a 16 bit count of 0
> timer.counter0.write(0);
> timer.counter0.write(0);
> }
>