summaryrefslogtreecommitdiff
path: root/OvmfPkg/Library/PlatformBootManagerCommonLib
AgeCommit message (Collapse)AuthorFilesLines
2025-03-05OvmfPkg/PlatformBootManagerCommonLib: Introduce OvmfFindLoadOptionLuigi Leonardi1-1/+43
OvmfFindLoadOption behaves like EfiBootManagerFindLoadOption, it searches for an entry in the array: an entry is found if the two paths are equal. This removes possible duplicates in the boot entries: two entries with the same path and different attributes are not detected as equal by EfiBootManagerFindLoadOption. In this case, the old entry is deleted and replaced by the new one. Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
2025-02-28OvmfPkg: Introduce PlatformBootManagerCommonLibLuigi Leonardi2-0/+329
Many function present in PlatformBootManagerLib and PlatformBootManagerLibLight have the same implementation. The idea of this new Library is to collect them to enable code reuse. Signed-off-by: Luigi Leonardi <leonardi@redhat.com>