diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2008-10-11 01:49:39 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2008-10-11 01:49:39 -0700 |
commit | a6600fdd8885f9765c859935a5c97d9017653745 (patch) | |
tree | 9cbb4d0ff97259066774b67f5e9a353eaed45a4e /src/dev/x86/pc.cc | |
parent | 539563e04b4925e88c28cb44f5180915c3b3a5be (diff) | |
download | gem5-a6600fdd8885f9765c859935a5c97d9017653745.tar.xz |
Devices: Make the Intel8254Timer device only use pointers to its counters.
Diffstat (limited to 'src/dev/x86/pc.cc')
-rw-r--r-- | src/dev/x86/pc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/x86/pc.cc b/src/dev/x86/pc.cc index d04529ab9..3de28bce5 100644 --- a/src/dev/x86/pc.cc +++ b/src/dev/x86/pc.cc @@ -64,8 +64,8 @@ PC::init() //Timer 0, latch command timer.writeControl(0x00); //Write a 16 bit count of 0 - timer.counter0.write(0); - timer.counter0.write(0); + timer.writeCounter(0, 0); + timer.writeCounter(0, 0); } Tick |