]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Exit EFI boot services before starting kernel
authorSimon Glass <sjg@chromium.org>
Sun, 19 Mar 2023 19:30:09 +0000 (08:30 +1300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 25 Mar 2023 10:07:22 +0000 (11:07 +0100)
commit5a2a1d8093d0372d7fc2ad1a9ae4893c888e6623
tree8d489fa970e2d9c8e2d49cf25afcf7366b891213
parent37c9f9cc86a2bcd8707d519945cecf08c079ef19
x86: Exit EFI boot services before starting kernel

When running the EFI app, we need to exit boot services before jumping
to Linux.

At some point it may be possible to jump to Linux and pass on the system
table, and:

  * install the device-tree as configuration table
  * use LoadImage() to load the kernel image (e.g. from memory)
  * start the image with StartImage()

This should allow the Linux efistub to be used. For now, this is not
implemented.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/bootm.c