diff options
author | Michael Brown | 2021-02-17 17:57:19 +0100 |
---|---|---|
committer | Michael Brown | 2021-02-17 18:14:19 +0100 |
commit | e39cd79a00b1b353f47836f1144d28268c541ed6 (patch) | |
tree | 3984989fab45230766c58c74e28a995e5a8216d3 /src/include/ipxe/efi/efi_autoexec.h | |
parent | [pxe] Split out platform-independent portions of cachedhcp.c (diff) | |
download | ipxe-e39cd79a00b1b353f47836f1144d28268c541ed6.tar.gz ipxe-e39cd79a00b1b353f47836f1144d28268c541ed6.tar.xz ipxe-e39cd79a00b1b353f47836f1144d28268c541ed6.zip |
[efi] Split out autoexec script portions of efi_autoboot.c
The "autoboot device" and "autoexec script" functionalities in
efi_autoboot.c are unrelated except in that they both need to be
invoked by efiprefix.c before device drivers are loaded.
Split out the autoexec script portions to a separate file to avoid
potential confusion.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/efi_autoexec.h')
-rw-r--r-- | src/include/ipxe/efi/efi_autoexec.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_autoexec.h b/src/include/ipxe/efi/efi_autoexec.h new file mode 100644 index 00000000..1f93b41c --- /dev/null +++ b/src/include/ipxe/efi/efi_autoexec.h @@ -0,0 +1,16 @@ +#ifndef _IPXE_EFI_AUTOEXEC_H +#define _IPXE_EFI_AUTOEXEC_H + +/** @file + * + * EFI autoexec script + * + */ + +FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + +#include <ipxe/efi/efi.h> + +extern int efi_autoexec_load ( EFI_HANDLE device ); + +#endif /* _IPXE_EFI_AUTOEXEC_H */ |