summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev')
-rw-r--r--src/dev/alpha/tsunami_io.cc4
-rw-r--r--src/dev/alpha/tsunami_io.hh4
-rw-r--r--src/dev/etherbus.hh3
-rw-r--r--src/dev/ethertap.hh3
-rwxr-xr-xsrc/dev/mips/malta_io.cc4
-rwxr-xr-xsrc/dev/mips/malta_io.hh4
-rw-r--r--src/dev/uart8250.cc2
-rw-r--r--src/dev/uart8250.hh2
8 files changed, 14 insertions, 12 deletions
diff --git a/src/dev/alpha/tsunami_io.cc b/src/dev/alpha/tsunami_io.cc
index e1ca1c84c..710aca48d 100644
--- a/src/dev/alpha/tsunami_io.cc
+++ b/src/dev/alpha/tsunami_io.cc
@@ -205,7 +205,7 @@ TsunamiIO::RTC::RTCEvent::process()
}
const char *
-TsunamiIO::RTC::RTCEvent::description()
+TsunamiIO::RTC::RTCEvent::description() const
{
return "tsunami RTC interrupt";
}
@@ -429,7 +429,7 @@ TsunamiIO::PITimer::Counter::CounterEvent::process()
}
const char *
-TsunamiIO::PITimer::Counter::CounterEvent::description()
+TsunamiIO::PITimer::Counter::CounterEvent::description() const
{
return "tsunami 8254 Interval timer";
}
diff --git a/src/dev/alpha/tsunami_io.hh b/src/dev/alpha/tsunami_io.hh
index 5083604f8..05c4ee910 100644
--- a/src/dev/alpha/tsunami_io.hh
+++ b/src/dev/alpha/tsunami_io.hh
@@ -73,7 +73,7 @@ class TsunamiIO : public BasicPioDevice
virtual void process();
/** Event description */
- virtual const char *description();
+ virtual const char *description() const;
};
private:
@@ -161,7 +161,7 @@ class TsunamiIO : public BasicPioDevice
virtual void process();
/** Event description */
- virtual const char *description();
+ virtual const char *description() const;
friend class Counter;
};
diff --git a/src/dev/etherbus.hh b/src/dev/etherbus.hh
index 4deb7fccc..624ceb81a 100644
--- a/src/dev/etherbus.hh
+++ b/src/dev/etherbus.hh
@@ -62,7 +62,8 @@ class EtherBus : public EtherObject
DoneEvent(EventQueue *q, EtherBus *b)
: Event(q), bus(b) {}
virtual void process() { bus->txDone(); }
- virtual const char *description() { return "ethernet bus completion"; }
+ virtual const char *description() const
+ { return "ethernet bus completion"; }
};
DoneEvent event;
diff --git a/src/dev/ethertap.hh b/src/dev/ethertap.hh
index 5c24be460..be3d73a24 100644
--- a/src/dev/ethertap.hh
+++ b/src/dev/ethertap.hh
@@ -93,7 +93,8 @@ class EtherTap : public EtherObject
TxEvent(EtherTap *_tap)
: Event(&mainEventQueue), tap(_tap) {}
void process() { tap->retransmit(); }
- virtual const char *description() { return "EtherTap retransmit"; }
+ virtual const char *description() const
+ { return "EtherTap retransmit"; }
};
friend class TxEvent;
diff --git a/src/dev/mips/malta_io.cc b/src/dev/mips/malta_io.cc
index bf7afa63b..b56694f1e 100755
--- a/src/dev/mips/malta_io.cc
+++ b/src/dev/mips/malta_io.cc
@@ -208,7 +208,7 @@ MaltaIO::RTC::RTCEvent::process()
}
const char *
-MaltaIO::RTC::RTCEvent::description()
+MaltaIO::RTC::RTCEvent::description() const
{
return "malta RTC interrupt";
}
@@ -461,7 +461,7 @@ MaltaIO::PITimer::Counter::CounterEvent::process()
}
const char *
-MaltaIO::PITimer::Counter::CounterEvent::description()
+MaltaIO::PITimer::Counter::CounterEvent::description() const
{
return "malta 8254 Interval timer";
}
diff --git a/src/dev/mips/malta_io.hh b/src/dev/mips/malta_io.hh
index 791d49d60..e24a1d8cb 100755
--- a/src/dev/mips/malta_io.hh
+++ b/src/dev/mips/malta_io.hh
@@ -79,7 +79,7 @@ class MaltaIO : public BasicPioDevice
virtual void process();
/** Event description */
- virtual const char *description();
+ virtual const char *description() const;
};
private:
@@ -171,7 +171,7 @@ class MaltaIO : public BasicPioDevice
virtual void process();
/** Event description */
- virtual const char *description();
+ virtual const char *description() const;
friend class Counter;
};
diff --git a/src/dev/uart8250.cc b/src/dev/uart8250.cc
index e14b0871e..b4dc93645 100644
--- a/src/dev/uart8250.cc
+++ b/src/dev/uart8250.cc
@@ -55,7 +55,7 @@ Uart8250::IntrEvent::IntrEvent(Uart8250 *u, int bit)
}
const char *
-Uart8250::IntrEvent::description()
+Uart8250::IntrEvent::description() const
{
return "uart interrupt delay";
}
diff --git a/src/dev/uart8250.hh b/src/dev/uart8250.hh
index 32b16c17c..2c69667e1 100644
--- a/src/dev/uart8250.hh
+++ b/src/dev/uart8250.hh
@@ -82,7 +82,7 @@ class Uart8250 : public Uart
public:
IntrEvent(Uart8250 *u, int bit);
virtual void process();
- virtual const char *description();
+ virtual const char *description() const;
void scheduleIntr();
};