aboutsummaryrefslogtreecommitdiffstats
path: root/src/initrd.c
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2018-03-25 21:16:33 -0400
committerClyne Sullivan <tullivan99@gmail.com>2018-03-25 21:16:33 -0400
commit603d04992cbf6c02cfc16f06ffab7d014d817634 (patch)
treebb31f0fe50f322c44a6d637b55cc02583b5b08d2 /src/initrd.c
parent5c5c93db40c6412fb46a09383640db01b4c6db4e (diff)
added licensing
Diffstat (limited to 'src/initrd.c')
-rw-r--r--src/initrd.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/initrd.c b/src/initrd.c
index 948811f..37e3764 100644
--- a/src/initrd.c
+++ b/src/initrd.c
@@ -1,3 +1,26 @@
+/**
+ * @file initrd.c
+ * Initrd image support
+ * An archive file (made with ar) can be linked into the final executable to
+ * allow files to be loaded in memory on boot. See mkinitrd.sh or the Makefile
+ * for more info.
+ *
+ * Copyright (C) 2018 Clyne Sullivan
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <initrd.h>
extern uint8_t _binary_initrd_img_start[];