Deleted Added
sdiff udiff text old ( 10052:5bb8e054456b ) new ( 10360:919c02740209 )
full compact
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 : _taskId(ContextSwitchTaskId::Unknown),
263 translateDelta(0), accessDelta(0), depth(0)
264 {}
265
266 /**
267 * Constructor for physical (e.g. device) requests. Initializes
268 * just physical address, size, flags, and timestamp (to curTick()).
269 * These fields are adequate to perform a request.
270 */
271 Request(Addr paddr, int size, Flags flags, MasterID mid)
272 : _taskId(ContextSwitchTaskId::Unknown)
273 {
274 setPhys(paddr, size, flags, mid);
275 }
276
277 Request(Addr paddr, int size, Flags flags, MasterID mid, Tick time)
278 : _taskId(ContextSwitchTaskId::Unknown)
279 {
280 setPhys(paddr, size, flags, mid, time);
281 }
282
283 Request(Addr paddr, int size, Flags flags, MasterID mid, Tick time, Addr pc)
284 : _taskId(ContextSwitchTaskId::Unknown)
285 {
286 setPhys(paddr, size, flags, mid, time);
287 privateFlags.set(VALID_PC);
288 _pc = pc;
289 }
290
291 Request(int asid, Addr vaddr, int size, Flags flags, MasterID mid, Addr pc,
292 int cid, ThreadID tid)
293 : _taskId(ContextSwitchTaskId::Unknown)
294 {
295 setVirt(asid, vaddr, size, flags, mid, pc);
296 setThreadContext(cid, tid);
297 }
298
299 ~Request() {}
300
301 /**

--- 335 unchanged lines hidden ---