On 04/17/18 11:02, Laszlo Ersek wrote: > Whereas, if the option is *not* found in the original array, then you > add it -- and then EfiBootManagerAddLoadOptionVariable() *modifies* > "NewOption.OptionNumber", from "LoadOptionNumberUnassigned" to the > actual #### assigned.
This may not have been obvious from the EfiBootManagerAddLoadOptionVariable() prototype and/or documentation; I've just submitted a patch to fix that: [edk2] [PATCH] MdeModulePkg/UefiBootManagerLib: fix AddLoadOptionVariable docs/prototype Laszlo _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel