summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_device_path.c
diff options
context:
space:
mode:
authorAdriano Cordova <adrianox@gmail.com>2025-03-03 11:13:12 -0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2025-03-10 06:41:07 +0100
commitfba5be3b60f6549483c6bb9e441c1f4e468d31b8 (patch)
treede76b9a54a6bef4b8bf3fe189e1df5bbb999ce6a /lib/efi_loader/efi_device_path.c
parent74829b4d93dcdaab5b87f8432b62bf198895c692 (diff)
efi_loader: efi_setup: Add efi_start_obj_list() to efi_setup.c
The coomand bootefi calls efi_init_obj_list to do the efi set up before launching an .efi payload, but efi_init_obj_list is called only once. There are some initializations which depend on the environment and should be done each time a payload gets launched and not only once. A motivation for this changes is the following order of events: 1. Launch an EFI application (e.g. bootefi hello) 2. Change the ip address 3. Launch another application which uses the pxe protocol As the EFI pxe protocol was initialized when the handles for efi net were created in 1., the ip was hardcoded there. In this example, another possibility would be to make a callback for ip address changes to go all the way up to efi_net. Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_device_path.c')
0 files changed, 0 insertions, 0 deletions