vmm: Repair the port IO memory alignment
The IO memory alignment should be set as byte alignment instead of 0x400 which is copied from crosvm. Signed-off-by: Jing Liu <jing2.liu@linux.intel.com>
This commit is contained in:
parent
e5e651895b
commit
8370a5bcc2
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ impl SystemAllocator {
|
|||
let page_size = pagesize() as u64;
|
||||
Some(SystemAllocator {
|
||||
io_address_space: if let (Some(b), Some(s)) = (io_base, io_size) {
|
||||
Some(AddressAllocator::new(b, s, Some(0x400))?)
|
||||
Some(AddressAllocator::new(b, s, Some(0x1))?)
|
||||
} else {
|
||||
None
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue