vm.hh (10842:0c0506575409) | vm.hh (10859:0ba6f47025d1) |
---|---|
1/* 2 * Copyright 2014 Google, Inc. | 1/* 2 * Copyright 2014 Google, Inc. |
3 * Copyright (c) 2012 ARM Limited | 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 9 * to a hardware implementation of the functionality of the software 10 * licensed hereunder. You may use the software subject to the license 11 * terms below provided that you ensure that this notice is replicated --- 369 unchanged lines hidden (view full) --- 381 */ 382 void disableMemSlot(const MemSlot slot); 383 384 /** 385 * Free a previously allocated memory slot. 386 */ 387 void freeMemSlot(const MemSlot slot); 388 | 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 9 * to a hardware implementation of the functionality of the software 10 * licensed hereunder. You may use the software subject to the license 11 * terms below provided that you ensure that this notice is replicated --- 369 unchanged lines hidden (view full) --- 381 */ 382 void disableMemSlot(const MemSlot slot); 383 384 /** 385 * Free a previously allocated memory slot. 386 */ 387 void freeMemSlot(const MemSlot slot); 388 |
389 /** 390 * Create an in-kernel device model. 391 * 392 * @param type Device type (KVM_DEV_TYPE_xxx) 393 * @param flags Creation flags (KVM_CREATE_DEVICE_xxx) 394 * @return Device file descriptor 395 */ 396 int createDevice(uint32_t type, uint32_t flags = 0); 397 |
|
389 /** Global KVM interface */ 390 Kvm kvm; 391 392 protected: 393 /** 394 * VM CPU initialization code. 395 * 396 * This method is called from BaseKvmCPU::startup() when a CPU in --- 110 unchanged lines hidden --- | 398 /** Global KVM interface */ 399 Kvm kvm; 400 401 protected: 402 /** 403 * VM CPU initialization code. 404 * 405 * This method is called from BaseKvmCPU::startup() when a CPU in --- 110 unchanged lines hidden --- |