tlb.cc (6099:74e5e063a03d) tlb.cc (6132:916f10213bea)
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 *

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

188Fault
189TLB::translate(RequestPtr req, ThreadContext *tc, Translation *translation,
190 Mode mode, bool &delayedResponse, bool timing)
191{
192 delayedResponse = false;
193 Addr vaddr = req->getVaddr();
194 DPRINTF(TLB, "Translating vaddr %#x.\n", vaddr);
195 uint32_t flags = req->getFlags();
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 *

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

188Fault
189TLB::translate(RequestPtr req, ThreadContext *tc, Translation *translation,
190 Mode mode, bool &delayedResponse, bool timing)
191{
192 delayedResponse = false;
193 Addr vaddr = req->getVaddr();
194 DPRINTF(TLB, "Translating vaddr %#x.\n", vaddr);
195 uint32_t flags = req->getFlags();
196 bool storeCheck = flags & StoreCheck;
196 bool storeCheck = flags & (StoreCheck << FlagShift);
197
198 int seg = flags & SegmentFlagMask;
199
200 // If this is true, we're dealing with a request to read an internal
201 // value.
202 if (seg == SEGMENT_REG_MS) {
203 DPRINTF(TLB, "Addresses references internal memory.\n");
204 Addr prefix = (vaddr >> 3) & IntAddrPrefixMask;

--- 551 unchanged lines hidden ---
197
198 int seg = flags & SegmentFlagMask;
199
200 // If this is true, we're dealing with a request to read an internal
201 // value.
202 if (seg == SEGMENT_REG_MS) {
203 DPRINTF(TLB, "Addresses references internal memory.\n");
204 Addr prefix = (vaddr >> 3) & IntAddrPrefixMask;

--- 551 unchanged lines hidden ---