commit | 0d8b54d1d7426508a22a24633e2e9e1496deabaf | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Thu Dec 08 16:32:33 2022 +0000 |
committer | Andrew Walbran <qwandor@google.com> | Mon Dec 12 12:42:34 2022 +0000 |
tree | 01f25b431ad8a7d7855c82ccb817a5346654603f | |
parent | e11eace8a90231667f91ad1ea4cbed1e842ef49e [diff] [blame] |
Map PCI (BAR) MMIO range too. Bug: 237249346 Test: Ran pVM firmware manually. Change-Id: Id1be96e080a3ee90b3cf842fdfed1dc8043aa2df
diff --git a/pvmfw/src/memory.rs b/pvmfw/src/memory.rs index ca1024d..892089e 100644 --- a/pvmfw/src/memory.rs +++ b/pvmfw/src/memory.rs
@@ -26,7 +26,7 @@ use log::error; use tinyvec::ArrayVec; -type MemoryRange = Range<usize>; +pub type MemoryRange = Range<usize>; #[derive(Clone, Copy, Debug, Default)] enum MemoryType {