1/* 2 * Copyright (c) 2012-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 245 unchanged lines hidden (view full) --- 254 Addr _pc; 255 256 public: 257 /** Minimal constructor. No fields are initialized. 258 * (Note that _flags and privateFlags are cleared by Flags 259 * default constructor.) 260 */ 261 Request() |
262 : _paddr(0), _size(0), _masterId(invldMasterId), _time(0), 263 _taskId(ContextSwitchTaskId::Unknown), _asid(0), _vaddr(0), 264 _extraData(0), _contextId(0), _threadId(0), _pc(0), 265 translateDelta(0), accessDelta(0), depth(0) |
266 {} 267 268 /** 269 * Constructor for physical (e.g. device) requests. Initializes 270 * just physical address, size, flags, and timestamp (to curTick()). 271 * These fields are adequate to perform a request. 272 */ 273 Request(Addr paddr, int size, Flags flags, MasterID mid) |
274 : _paddr(0), _size(0), _masterId(invldMasterId), _time(0), 275 _taskId(ContextSwitchTaskId::Unknown), _asid(0), _vaddr(0), 276 _extraData(0), _contextId(0), _threadId(0), _pc(0), 277 translateDelta(0), accessDelta(0), depth(0) |
278 { 279 setPhys(paddr, size, flags, mid); 280 } 281 282 Request(Addr paddr, int size, Flags flags, MasterID mid, Tick time) |
283 : _paddr(0), _size(0), _masterId(invldMasterId), _time(0), 284 _taskId(ContextSwitchTaskId::Unknown), _asid(0), _vaddr(0), 285 _extraData(0), _contextId(0), _threadId(0), _pc(0), 286 translateDelta(0), accessDelta(0), depth(0) |
287 { 288 setPhys(paddr, size, flags, mid, time); 289 } 290 291 Request(Addr paddr, int size, Flags flags, MasterID mid, Tick time, Addr pc) |
292 : _paddr(0), _size(0), _masterId(invldMasterId), _time(0), 293 _taskId(ContextSwitchTaskId::Unknown), _asid(0), _vaddr(0), 294 _extraData(0), _contextId(0), _threadId(0), _pc(0), 295 translateDelta(0), accessDelta(0), depth(0) |
296 { 297 setPhys(paddr, size, flags, mid, time); 298 privateFlags.set(VALID_PC); 299 _pc = pc; 300 } 301 302 Request(int asid, Addr vaddr, int size, Flags flags, MasterID mid, Addr pc, 303 int cid, ThreadID tid) |
304 : _paddr(0), _size(0), _masterId(invldMasterId), _time(0), 305 _taskId(ContextSwitchTaskId::Unknown), _asid(0), _vaddr(0), 306 _extraData(0), _contextId(0), _threadId(0), _pc(0), 307 translateDelta(0), accessDelta(0), depth(0) |
308 { 309 setVirt(asid, vaddr, size, flags, mid, pc); 310 setThreadContext(cid, tid); 311 } 312 313 ~Request() {} 314 315 /** --- 335 unchanged lines hidden --- |