mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
aarch64: Correct wrong settings for serial device
Corrected: - The device name in FDT - MMIO mapping size Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
@@ -1628,14 +1628,14 @@ impl DeviceManager {
|
||||
|
||||
self.address_manager
|
||||
.mmio_bus
|
||||
.insert(serial.clone(), addr.0, MMIO_LEN)
|
||||
.insert(serial.clone(), addr.0, 0x8)
|
||||
.map_err(DeviceManagerError::BusError)?;
|
||||
|
||||
self.id_to_dev_info.insert(
|
||||
(DeviceType::Serial, DeviceType::Serial.to_string()),
|
||||
MMIODeviceInfo {
|
||||
addr: addr.0,
|
||||
len: MMIO_LEN,
|
||||
len: 0x8,
|
||||
irq: serial_irq,
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user