vm.hh (11363:f3f72c0ab03e) | vm.hh (11839:dd6df2e47c14) |
---|---|
1/* 2 * Copyright 2014 Google, Inc. 3 * Copyright (c) 2012, 2015 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 386 unchanged lines hidden (view full) --- 395 * @param flags Creation flags (KVM_CREATE_DEVICE_xxx) 396 * @return Device file descriptor 397 */ 398 int createDevice(uint32_t type, uint32_t flags = 0); 399 400 /** Global KVM interface */ 401 Kvm *kvm; 402 | 1/* 2 * Copyright 2014 Google, Inc. 3 * Copyright (c) 2012, 2015 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 386 unchanged lines hidden (view full) --- 395 * @param flags Creation flags (KVM_CREATE_DEVICE_xxx) 396 * @return Device file descriptor 397 */ 398 int createDevice(uint32_t type, uint32_t flags = 0); 399 400 /** Global KVM interface */ 401 Kvm *kvm; 402 |
403 /** 404 * Initialize system pointer. Invoked by system object. 405 */ 406 void setSystem(System *s); 407 |
|
403#if defined(__aarch64__) 404 public: // ARM-specific 405 /** 406 * Ask the kernel for the preferred CPU target to simulate. 407 * 408 * When creating an ARM vCPU in Kvm, we need to initialize it with 409 * a call to BaseArmKvmCPU::kvmArmVCpuInit(). When calling this 410 * function, we need to know what type of CPU the host has. This --- 124 unchanged lines hidden --- | 408#if defined(__aarch64__) 409 public: // ARM-specific 410 /** 411 * Ask the kernel for the preferred CPU target to simulate. 412 * 413 * When creating an ARM vCPU in Kvm, we need to initialize it with 414 * a call to BaseArmKvmCPU::kvmArmVCpuInit(). When calling this 415 * function, we need to know what type of CPU the host has. This --- 124 unchanged lines hidden --- |