summaryrefslogtreecommitdiff
path: root/src/grp-boot/systemd-boot/linux.h
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 10:47:48 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 10:47:48 -0400
commita1c7a49f2dbd12ff48a5bbd3b673a23944b72465 (patch)
tree8c2a709b2527827d9d2f87e69858773f0e457665 /src/grp-boot/systemd-boot/linux.h
parentb2361d9c29f2a551cb1e2fb0b75753c299a1ddfd (diff)
./move.sh
Diffstat (limited to 'src/grp-boot/systemd-boot/linux.h')
-rw-r--r--src/grp-boot/systemd-boot/linux.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/grp-boot/systemd-boot/linux.h b/src/grp-boot/systemd-boot/linux.h
new file mode 100644
index 0000000000..d9e6ed7955
--- /dev/null
+++ b/src/grp-boot/systemd-boot/linux.h
@@ -0,0 +1,22 @@
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * Copyright (C) 2015 Kay Sievers <kay@vrfy.org>
+ */
+
+#ifndef __SDBOOT_kernel_H
+#define __SDBOOT_kernel_H
+
+EFI_STATUS linux_exec(EFI_HANDLE *image,
+ CHAR8 *cmdline, UINTN cmdline_size,
+ UINTN linux_addr,
+ UINTN initrd_addr, UINTN initrd_size);
+#endif