acrn-hypervisor/hypervisor/scenarios/logical_partition
dongshen 0247c0b942 Hv: minor cosmetic fix
Define/Use variable in place of code to improve readability:

Define new local variable struct pci_bar *vbar, and use vbar-> in place of vdev->bar[idx].

Define new local variable uint64_t vbar_base in init_vdev_pt

Rename uint64_t vbar[PCI_BAR_COUNT] of struct acrn_vm_pci_ptdev_config to uint64_t vbar_base[PCI_BAR_COUNT]

Tracked-On: #3241
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-07-01 09:57:05 +08:00
..
pt_dev.c Hv: minor cosmetic fix 2019-07-01 09:57:05 +08:00
vm_configurations.c HV: remove cpu_num from vm configurations 2019-06-06 15:22:10 +08:00
vm_configurations.h HV: remove cpu_num from vm configurations 2019-06-06 15:22:10 +08:00