base.cc (11629:22f08c96bf7f) | base.cc (11793:ef606668d247) |
---|---|
1/* 2 * Copyright (c) 2012, 2015 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 --- 23 unchanged lines hidden (view full) --- 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Andreas Sandberg 38 */ 39 | 1/* 2 * Copyright (c) 2012, 2015 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 --- 23 unchanged lines hidden (view full) --- 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Andreas Sandberg 38 */ 39 |
40#include "cpu/kvm/base.hh" 41 |
|
40#include <linux/kvm.h> 41#include <sys/ioctl.h> 42#include <sys/mman.h> 43#include <unistd.h> 44 45#include <cerrno> 46#include <csignal> 47#include <ostream> 48 49#include "arch/mmapped_ipr.hh" 50#include "arch/utility.hh" | 42#include <linux/kvm.h> 43#include <sys/ioctl.h> 44#include <sys/mman.h> 45#include <unistd.h> 46 47#include <cerrno> 48#include <csignal> 49#include <ostream> 50 51#include "arch/mmapped_ipr.hh" 52#include "arch/utility.hh" |
51#include "cpu/kvm/base.hh" | |
52#include "debug/Checkpoint.hh" 53#include "debug/Drain.hh" 54#include "debug/Kvm.hh" 55#include "debug/KvmIO.hh" 56#include "debug/KvmRun.hh" 57#include "params/BaseKvmCPU.hh" 58#include "sim/process.hh" 59#include "sim/system.hh" 60 | 53#include "debug/Checkpoint.hh" 54#include "debug/Drain.hh" 55#include "debug/Kvm.hh" 56#include "debug/KvmIO.hh" 57#include "debug/KvmRun.hh" 58#include "params/BaseKvmCPU.hh" 59#include "sim/process.hh" 60#include "sim/system.hh" 61 |
61#include <signal.h> 62 | |
63/* Used by some KVM macros */ 64#define PAGE_SIZE pageSize 65 66BaseKvmCPU::BaseKvmCPU(BaseKvmCPUParams *params) 67 : BaseCPU(params), 68 vm(*params->kvmVM), 69 _status(Idle), 70 dataPort(name() + ".dcache_port", this), --- 1324 unchanged lines hidden --- | 62/* Used by some KVM macros */ 63#define PAGE_SIZE pageSize 64 65BaseKvmCPU::BaseKvmCPU(BaseKvmCPUParams *params) 66 : BaseCPU(params), 67 vm(*params->kvmVM), 68 _status(Idle), 69 dataPort(name() + ".dcache_port", this), --- 1324 unchanged lines hidden --- |