summaryrefslogtreecommitdiffstats
path: root/src/boot/efi/linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/efi/linux.h')
-rw-r--r--src/boot/efi/linux.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/boot/efi/linux.h b/src/boot/efi/linux.h
new file mode 100644
index 0000000..46b5f4f
--- /dev/null
+++ b/src/boot/efi/linux.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+#include "efi.h"
+
+EFI_STATUS linux_exec(
+ EFI_HANDLE parent,
+ const char16_t *cmdline,
+ const void *linux_buffer,
+ size_t linux_length,
+ const void *initrd_buffer,
+ size_t initrd_length);
+EFI_STATUS linux_exec_efi_handover(
+ EFI_HANDLE parent,
+ const char16_t *cmdline,
+ const void *linux_buffer,
+ size_t linux_length,
+ const void *initrd_buffer,
+ size_t initrd_length);