mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-05 05:32:05 +00:00
Add 2 helplers: 1. get_realpath: this method returns the realpath of paramenter if it's a valid path string 2. get_bdf_from_realpath: this method returns the bus, device, function number if the parameter is a path to /sys/devices Tracked-On: #7970 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
||
---|---|---|
.. | ||
10-processors.py | ||
20-cache.py | ||
30-memory.py | ||
40-acpi-tables.py | ||
50-acpi-namespace.py | ||
60-pci.py | ||
70-device-classes.py | ||
80-lookup.py | ||
90-sorting.py | ||
95-usb.py | ||
helpers.py |