]> git.baikalelectronics.ru Git - uboot.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)
commitd42798efbba0c451145589430b33a5bb879935b8
tree8d489fa970e2d9c8e2d49cf25afcf7366b891213
parent493250d616464e06d3100d6c89f72ac34814719c
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