commit | 9fcd199861abe0941c76f92b6ee5d450db364e66 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sun Sep 15 01:50:00 2013 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sat Sep 28 22:03:59 2013 -0400 |
tree | e0c7f37f473ddefb8a6b915183d4a1e1250ded6a | |
parent | 18140146b05f910e757dcc950e94935d084c72e3 [diff] |
Move PIT setup from clock.c to hw/timer.c. Move the hardware setup to the hw/timer.c code. This eliminates the need for a separate hw/pit.h file with definitions. Also, move the IRQ counting code (which is dependent on the BDA) from hw/timer.c to clock.c. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>