tlb.cc (5648:e8abda6e0980) tlb.cc (5712:199d31b47f7b)
1/*
2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

--- 640 unchanged lines hidden (view full) ---

649 if (paddr & ((32/8) - 1))
650 return new GeneralProtection(0);
651 // Check access size
652 if (req->getSize() != (32/8))
653 return new GeneralProtection(0);
654 */
655 // Force the access to be uncacheable.
656 req->setFlags(req->getFlags() | UNCACHEABLE);
1/*
2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

--- 640 unchanged lines hidden (view full) ---

649 if (paddr & ((32/8) - 1))
650 return new GeneralProtection(0);
651 // Check access size
652 if (req->getSize() != (32/8))
653 return new GeneralProtection(0);
654 */
655 // Force the access to be uncacheable.
656 req->setFlags(req->getFlags() | UNCACHEABLE);
657 req->setPaddr(x86LocalAPICAddress(tc->readCpuId(), paddr - baseAddr));
657 req->setPaddr(x86LocalAPICAddress(tc->cpuId(), paddr - baseAddr));
658 }
659#endif
660 return NoFault;
661};
662
663Fault
664DTB::translate(RequestPtr &req, ThreadContext *tc, bool write)
665{

--- 60 unchanged lines hidden ---
658 }
659#endif
660 return NoFault;
661};
662
663Fault
664DTB::translate(RequestPtr &req, ThreadContext *tc, bool write)
665{

--- 60 unchanged lines hidden ---