mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-07-16 20:41:27 +00:00
It is a common practice to parse PCI BDF in the static allocators. This patch moves the BusDevFunc class (which is a named tuple encoding a BDF) to lib.py and uses it for BDF parsing throughout the static allocators. Tracked-On: #6287 Signed-off-by: Junjie Mao <junjie.mao@intel.com>