SLICC: Remove WakeUp* import calls from ast/__init__.py
[gem5.git] / src / mem / port.cc
index a666c968bb71ff94306931038a9dcd0b849f623e..4d44d486ddd2c4d37820e39f7925a3d049b8b766 100644 (file)
@@ -42,7 +42,7 @@
 class DefaultPeerPort : public Port
 {
   protected:
-    void blowUp()
+    void blowUp() const
     {
         fatal("%s: Unconnected port!", peer->name());
     }
@@ -74,7 +74,8 @@ class DefaultPeerPort : public Port
         blowUp();
     }
 
-    int deviceBlockSize()
+    unsigned
+    deviceBlockSize() const
     {
         blowUp();
         return 0;