summaryrefslogtreecommitdiff
path: root/src/dev/x86/south_bridge/i8254.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/x86/south_bridge/i8254.hh')
-rw-r--r--src/dev/x86/south_bridge/i8254.hh16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/dev/x86/south_bridge/i8254.hh b/src/dev/x86/south_bridge/i8254.hh
index f246fd8e4..519049e93 100644
--- a/src/dev/x86/south_bridge/i8254.hh
+++ b/src/dev/x86/south_bridge/i8254.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004-2005 The Regents of The University of Michigan
+ * Copyright (c) 2008 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -33,24 +33,28 @@
#include "arch/x86/x86_traits.hh"
#include "base/range.hh"
+#include "dev/intel_8254_timer.hh"
#include "dev/x86/south_bridge/sub_device.hh"
+#include <string>
+
namespace X86ISA
{
class I8254 : public SubDevice
{
protected:
- void processControlWord(uint8_t word);
+ Intel8254Timer pit;
public:
- I8254()
+ I8254(const std::string &name) : pit(name)
{}
- I8254(Tick _latency) : SubDevice(_latency)
+ I8254(const std::string &name, Tick _latency) :
+ SubDevice(_latency), pit(name)
{}
- I8254(Addr start, Addr size, Tick _latency) :
- SubDevice(start, size, _latency)
+ I8254(const std::string &name, Addr start, Addr size, Tick _latency) :
+ SubDevice(start, size, _latency), pit(name)
{}
Tick read(PacketPtr pkt);