Files
acrn-hypervisor/devicemodel/include
Zhao Yakui 270aaf82d8 ACRN:DM:PCI: Add the support of allocating resource for PCI ROM bar
Now the device model only supports the 0..5 PCI bar for PCI/PCIE devices.
This tries to allocate the PCI_MEM32 resource for PCI ROM bar.

V1->V2: Use the PCI_ROMBAR as bar index and PCIBAR_ROM bar type when calling
the pci_emul_alloc_bar to allocate the guest physical addr for PCI ROM bar.
And it will allocate the resource from PCIBAR_MEM32 region.

V2->V3: Add more comments that describes the parameter of pci_emul_alloc_bar.

Tracked-On: #8175
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Acked-by: Wang Yu <yu1.wang@intel.com>
2022-09-23 18:12:01 +08:00
..
2022-07-13 14:01:01 +08:00
2020-09-01 09:30:08 +08:00
2022-03-28 15:26:20 +08:00
2018-05-16 15:09:48 +08:00
2018-12-07 20:21:33 +08:00
2018-06-07 16:11:49 +08:00
2021-05-19 13:54:24 +08:00
2019-05-24 11:51:00 +08:00
2019-03-21 10:28:17 +08:00
2022-04-08 13:54:47 +08:00
2018-12-27 09:58:20 +08:00
2022-05-10 09:20:14 +08:00