exec_context.hh (12109:f29e9c5418aa) exec_context.hh (12420:f5c80f4ed41f)
1/*
2 * Copyright (c) 2014, 2016 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

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

218 virtual void pcState(const PCState &val) = 0;
219 /** @} */
220
221 /**
222 * @{
223 * @name Memory Interface
224 */
225 /**
1/*
2 * Copyright (c) 2014, 2016 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

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

218 virtual void pcState(const PCState &val) = 0;
219 /** @} */
220
221 /**
222 * @{
223 * @name Memory Interface
224 */
225 /**
226 * Record the effective address of the instruction.
227 *
228 * @note Only valid for memory ops.
229 */
230 virtual void setEA(Addr EA) = 0;
231 /**
232 * Get the effective address of the instruction.
233 *
234 * @note Only valid for memory ops.
235 */
236 virtual Addr getEA() const = 0;
237
238 /**
239 * Perform an atomic memory read operation. Must be overridden
240 * for exec contexts that support atomic memory mode. Not pure
241 * virtual since exec contexts that only support timing memory
242 * mode need not override (though in that case this function
243 * should never be called).
244 */
245 virtual Fault readMem(Addr addr, uint8_t *data, unsigned int size,
246 Request::Flags flags)

--- 112 unchanged lines hidden ---
226 * Perform an atomic memory read operation. Must be overridden
227 * for exec contexts that support atomic memory mode. Not pure
228 * virtual since exec contexts that only support timing memory
229 * mode need not override (though in that case this function
230 * should never be called).
231 */
232 virtual Fault readMem(Addr addr, uint8_t *data, unsigned int size,
233 Request::Flags flags)

--- 112 unchanged lines hidden ---