exec_context.hh (12110:c24ee249b8ba) | 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 --- 399 unchanged lines hidden (view full) --- 408 } 409 410 void pcState(const PCState &val) override 411 { 412 thread->pcState(val); 413 } 414 415 | 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 --- 399 unchanged lines hidden (view full) --- 408 } 409 410 void pcState(const PCState &val) override 411 { 412 thread->pcState(val); 413 } 414 415 |
416 /** 417 * Record the effective address of the instruction. 418 * 419 * @note Only valid for memory ops. 420 */ 421 void setEA(Addr EA) override 422 { panic("BaseSimpleCPU::setEA() not implemented\n"); } 423 424 /** 425 * Get the effective address of the instruction. 426 * 427 * @note Only valid for memory ops. 428 */ 429 Addr getEA() const override 430 { panic("BaseSimpleCPU::getEA() not implemented\n"); } 431 | |
432 Fault readMem(Addr addr, uint8_t *data, unsigned int size, 433 Request::Flags flags) override 434 { 435 return cpu->readMem(addr, data, size, flags); 436 } 437 438 Fault initiateMemRead(Addr addr, unsigned int size, 439 Request::Flags flags) override --- 124 unchanged lines hidden --- | 416 Fault readMem(Addr addr, uint8_t *data, unsigned int size, 417 Request::Flags flags) override 418 { 419 return cpu->readMem(addr, data, size, flags); 420 } 421 422 Fault initiateMemRead(Addr addr, unsigned int size, 423 Request::Flags flags) override --- 124 unchanged lines hidden --- |