1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 158 unchanged lines hidden (view full) --- 167 validContextAndThreadIds = true; 168 } 169 170 /** 171 * Set up a physical (e.g. device) request in a previously 172 * allocated Request object. */ 173 void setPhys(Addr _paddr, int _size, int _flags) 174 { |
175 assert(_size >= 0); |
176 paddr = _paddr; 177 size = _size; 178 flags = _flags; 179 time = curTick; 180 validPaddr = true; 181 validAsidVaddr = false; 182 validPC = false; 183 validExData = false; 184 mmapedIpr = false; 185 } 186 187 /** 188 * Set up a virtual (e.g., CPU) request in a previously 189 * allocated Request object. */ 190 void setVirt(int _asid, Addr _vaddr, int _size, int _flags, Addr _pc) 191 { |
192 assert(_size >= 0); |
193 asid = _asid; 194 vaddr = _vaddr; 195 size = _size; 196 flags = _flags; 197 pc = _pc; 198 time = curTick; 199 validPaddr = false; 200 validAsidVaddr = true; --- 94 unchanged lines hidden --- |