Add memory space implemented for range 0xffff00188
authorRon Dreslinski <rdreslin@umich.edu>
Wed, 14 Jan 2004 21:21:49 +0000 (16:21 -0500)
committerRon Dreslinski <rdreslin@umich.edu>
Wed, 14 Jan 2004 21:21:49 +0000 (16:21 -0500)
--HG--
extra : convert_revision : ce17505cb97bf9985fd1f4992df89113a5ea3bf5

arch/alpha/alpha_memory.cc

index d934299b8f80e3d8781f48ad936a4a4128de6773..84b3d5840552f12d4ef1bc4335695672bed85c0f 100644 (file)
@@ -90,8 +90,16 @@ AlphaTlb::checkCacheability(MemReqPtr req)
     if (req->paddr & PA_UNCACHED_BIT) {
         if (PA_IPR_SPACE(req->paddr)) {
             // IPR memory space not implemented
-            if (!req->xc->misspeculating())
-                panic("IPR memory space not implemented! PA=%x\n", req->paddr);
+            if (!req->xc->misspeculating()) {
+                switch (req->paddr) {
+                  case 0xFFFFF00188:
+                    req->data = 0;
+                    break;
+
+                  default:
+                    panic("IPR memory space not implemented! PA=%x\n", req->paddr);
+                }
+            }
         } else {
             // mark request as uncacheable
             req->flags |= UNCACHEABLE;