gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
X86ISA::I8254::X86Intel8254Timer Class Reference

#include <i8254.hh>

Inheritance diagram for X86ISA::I8254::X86Intel8254Timer:
Intel8254Timer EventManager

Public Member Functions

 X86Intel8254Timer (const std::string &name, I8254 *_parent)
 
- Public Member Functions inherited from Intel8254Timer
virtual ~Intel8254Timer ()
 
 Intel8254Timer (EventManager *em, const std::string &name, Counter *counter0, Counter *counter1, Counter *counter2)
 
 Intel8254Timer (EventManager *em, const std::string &name)
 
void writeControl (const CtrlReg data)
 Write control word. More...
 
uint8_t readCounter (unsigned int num)
 
void writeCounter (unsigned int num, const uint8_t data)
 
bool outputHigh (unsigned int num)
 
void serialize (const std::string &base, CheckpointOut &cp) const
 Serialize this object to the given output stream. More...
 
void unserialize (const std::string &base, CheckpointIn &cp)
 Reconstruct the state of this object from a checkpoint. More...
 
void startup ()
 Start ticking. More...
 
- Public Member Functions inherited from EventManager
 EventManager (EventManager &em)
 
 EventManager (EventManager *em)
 
 EventManager (EventQueue *eq)
 
EventQueueeventQueue () const
 
void schedule (Event &event, Tick when)
 
void deschedule (Event &event)
 
void reschedule (Event &event, Tick when, bool always=false)
 
void schedule (Event *event, Tick when)
 
void deschedule (Event *event)
 
void reschedule (Event *event, Tick when, bool always=false)
 
void wakeupEventQueue (Tick when=(Tick)-1)
 
void setCurTick (Tick newVal)
 

Protected Member Functions

void counterInterrupt (unsigned int num)
 
- Protected Member Functions inherited from Intel8254Timer
 BitUnion8 (CtrlReg) Bitfield<7
 
 EndBitUnion (CtrlReg) enum SelectVal
 
const std::string & name () const
 

Protected Attributes

I8254parent
 
- Protected Attributes inherited from Intel8254Timer
 sel
 
Bitfield< 5, 4 > rw
 
Bitfield< 3, 1 > mode
 
Bitfield< 0 > bcd
 
std::string _name
 
Countercounter [3]
 PIT has three seperate counters. More...
 
- Protected Attributes inherited from EventManager
EventQueueeventq
 A pointer to this object's event queue. More...
 

Additional Inherited Members

- Protected Types inherited from Intel8254Timer
enum  ReadWriteVal { LatchCommand, LsbOnly, MsbOnly, TwoPhase }
 
enum  ModeVal {
  InitTc, OneShot, RateGen, SquareWave,
  SoftwareStrobe, HardwareStrobe
}
 

Detailed Description

Definition at line 47 of file i8254.hh.

Constructor & Destructor Documentation

X86ISA::I8254::X86Intel8254Timer::X86Intel8254Timer ( const std::string &  name,
I8254 _parent 
)
inline

Definition at line 59 of file i8254.hh.

Member Function Documentation

void X86ISA::I8254::X86Intel8254Timer::counterInterrupt ( unsigned int  num)
inlineprotectedvirtual

Reimplemented from Intel8254Timer.

Definition at line 53 of file i8254.hh.

References X86ISA::I8254::counterInterrupt(), and parent.

Member Data Documentation

I8254* X86ISA::I8254::X86Intel8254Timer::parent
protected

Definition at line 50 of file i8254.hh.

Referenced by counterInterrupt().


The documentation for this class was generated from the following file:

Generated on Fri Jun 9 2017 13:04:43 for gem5 by doxygen 1.8.6