summaryrefslogtreecommitdiff
path: root/src/sd-boot/linux.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2015-02-08 12:25:35 +0100
committerKay Sievers <kay@vrfy.org>2015-02-17 14:36:59 +0100
commit0fa2cac4f0cdefaf1addd7f1fe0fd8113db9360b (patch)
treee2ddad77e8b9afe1121a54eea28add1846d9aa6b /src/sd-boot/linux.h
parent484adfd914504cd7e95867cea20ca7af71b888f2 (diff)
sd-boot: add EFI boot manager and stub loader
Diffstat (limited to 'src/sd-boot/linux.h')
-rw-r--r--src/sd-boot/linux.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/sd-boot/linux.h b/src/sd-boot/linux.h
new file mode 100644
index 0000000000..aff69a9778
--- /dev/null
+++ b/src/sd-boot/linux.h
@@ -0,0 +1,24 @@
+/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
+
+/*
+ * 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