summary refs log tree commit diff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2018-05-23 12:59:11 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-06-29 01:08:55 -0700
commitdea77cef92ffb64551451b133bd3d1f0f50e001e (patch)
tree1c3e20c0a4f538c4b2b797db2e828d9dac7681e1 /Cargo.lock
parentd678784ae182bd816e00b69f5838f0665a79485c (diff)
downloadcrosvm-dea77cef92ffb64551451b133bd3d1f0f50e001e.tar
crosvm-dea77cef92ffb64551451b133bd3d1f0f50e001e.tar.gz
crosvm-dea77cef92ffb64551451b133bd3d1f0f50e001e.tar.bz2
crosvm-dea77cef92ffb64551451b133bd3d1f0f50e001e.tar.lz
crosvm-dea77cef92ffb64551451b133bd3d1f0f50e001e.tar.xz
crosvm-dea77cef92ffb64551451b133bd3d1f0f50e001e.tar.zst
crosvm-dea77cef92ffb64551451b133bd3d1f0f50e001e.zip
resources: Add address allocation helper
Add the AddressAllocator module that will be used by both architectures
to manage distributing address ranges to devices. This will make the
addition of PCI devices easier as now both MMIO and PCI will need to
share address space. Add this to a new resources crate.

Change-Id: I6a971dd795f2118bd6cfec7dc34a65b0d4a32f9b
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1072570
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock8
1 files changed, 8 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index ab3f835..562afbc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -71,6 +71,7 @@ dependencies = [
  "qcow 0.1.0",
  "qcow_utils 0.1.0",
  "rand 0.3.20 (registry+https://github.com/rust-lang/crates.io-index)",
+ "resources 0.1.0",
  "sys_util 0.1.0",
  "vhost 0.1.0",
  "vm_control 0.1.0",
@@ -299,6 +300,13 @@ dependencies = [
 ]
 
 [[package]]
+name = "resources"
+version = "0.1.0"
+dependencies = [
+ "data_model 0.1.0",
+]
+
+[[package]]
 name = "syn"
 version = "0.12.15"
 source = "registry+https://github.com/rust-lang/crates.io-index"