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-15 11:48:35 +08:00
2019-01-23 10:33:28 +08:00
2022-07-13 14:01:01 +08:00
2020-09-01 09:30:08 +08:00
2018-05-15 17:25:24 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2019-04-16 15:03:04 +08:00
2022-07-15 11:48:35 +08:00
2019-05-24 11:51:00 +08:00
2022-07-15 11:48:35 +08:00
2022-01-10 13:34:27 +08:00
2022-03-28 15:26:20 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2018-10-09 13:24:47 +08:00
2021-07-15 11:53:54 +08:00
2018-05-16 15:09:48 +08:00
2022-07-15 11:48:35 +08:00
2022-09-21 12:29:07 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2021-07-15 11:53:54 +08:00
2018-12-07 20:21:33 +08:00
2022-08-02 18:01:24 +08:00
2022-07-15 11:48:35 +08:00
2019-05-24 11:51:00 +08:00
2018-06-07 16:11:49 +08:00
2021-05-19 13:54:24 +08:00
2022-09-23 18:12:01 +08:00
2022-07-15 11:48:35 +08:00
2022-04-11 13:50:21 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2018-05-15 17:25:24 +08:00
2018-05-15 17:25:24 +08:00
2021-05-19 13:54:24 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2019-05-24 11:51:00 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +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
2021-09-04 18:55:12 +08:00
2022-07-15 11:48:35 +08:00
2018-05-29 10:35:05 +08:00
2022-07-15 11:48:35 +08:00
2022-08-15 14:44:47 +08:00
2022-04-19 18:30:06 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2022-08-25 14:50:24 +08:00
2022-05-10 09:20:14 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2019-09-26 11:29:22 +08:00
2019-05-24 13:21:12 +08:00