Skip to content
Commit 830ffba7 authored by Julien Thierry's avatar Julien Thierry Committed by Alexandru Elisei
Browse files

virtio/pci: Make memory and IO BARs independent



Currently, callbacks for memory BAR 1 call the IO port emulation.  This
means that the memory BAR needs I/O Space to be enabled whenever Memory
Space is enabled.

Refactor the code so the two type of  BARs are independent. Also, unify
ioport/mmio callback arguments so that they all receive a virtio_device.

Signed-off-by: default avatarJulien Thierry <julien.thierry@arm.com>
parent be9790f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment