request.hh (11269:33434d6cbd20) | request.hh (11294:a368064a2ab5) |
---|---|
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 --- 220 unchanged lines hidden (view full) --- 229 230 /** 231 * Set up a physical (e.g. device) request in a previously 232 * allocated Request object. 233 */ 234 void 235 setPhys(Addr paddr, unsigned size, Flags flags, MasterID mid, Tick time) 236 { | 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 --- 220 unchanged lines hidden (view full) --- 229 230 /** 231 * Set up a physical (e.g. device) request in a previously 232 * allocated Request object. 233 */ 234 void 235 setPhys(Addr paddr, unsigned size, Flags flags, MasterID mid, Tick time) 236 { |
237 assert(size >= 0); | |
238 _paddr = paddr; 239 _size = size; 240 _time = time; 241 _masterId = mid; 242 _flags.clear(~STICKY_FLAGS); 243 _flags.set(flags); 244 privateFlags.clear(~STICKY_PRIVATE_FLAGS); 245 privateFlags.set(VALID_PADDR|VALID_SIZE); --- 462 unchanged lines hidden --- | 237 _paddr = paddr; 238 _size = size; 239 _time = time; 240 _masterId = mid; 241 _flags.clear(~STICKY_FLAGS); 242 _flags.set(flags); 243 privateFlags.clear(~STICKY_PRIVATE_FLAGS); 244 privateFlags.set(VALID_PADDR|VALID_SIZE); --- 462 unchanged lines hidden --- |