summaryrefslogtreecommitdiffstats
path: root/src/hci
diff options
context:
space:
mode:
authorMichael Brown2009-05-01 16:41:06 +0200
committerMichael Brown2009-05-18 09:33:25 +0200
commitc44a193d0d147ed6f98741124569864e516e9d4b (patch)
tree94a9b841e13eb643181e180f358c8612b1b29bfc /src/hci
parent[legal] Add licence.pl and %.licence make target (diff)
downloadipxe-c44a193d0d147ed6f98741124569864e516e9d4b.tar.gz
ipxe-c44a193d0d147ed6f98741124569864e516e9d4b.tar.xz
ipxe-c44a193d0d147ed6f98741124569864e516e9d4b.zip
[legal] Add a selection of FILE_LICENCE declarations
Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
Diffstat (limited to 'src/hci')
-rw-r--r--src/hci/commands/autoboot_cmd.c2
-rw-r--r--src/hci/commands/config_cmd.c2
-rw-r--r--src/hci/commands/dhcp_cmd.c2
-rw-r--r--src/hci/commands/ifmgmt_cmd.c2
-rw-r--r--src/hci/commands/image_cmd.c2
-rw-r--r--src/hci/commands/login_cmd.c2
-rw-r--r--src/hci/commands/nvo_cmd.c2
-rw-r--r--src/hci/commands/route_cmd.c2
-rw-r--r--src/hci/commands/sanboot_cmd.c2
-rw-r--r--src/hci/editstring.c2
-rw-r--r--src/hci/mucurses/ansi_screen.c2
-rw-r--r--src/hci/mucurses/clear.c2
-rw-r--r--src/hci/mucurses/colour.c2
-rw-r--r--src/hci/mucurses/cursor.h2
-rw-r--r--src/hci/mucurses/mucurses.c2
-rw-r--r--src/hci/mucurses/mucurses.h2
-rw-r--r--src/hci/mucurses/print.c2
-rw-r--r--src/hci/mucurses/widgets/editbox.c2
-rw-r--r--src/hci/mucurses/winattrs.c2
-rw-r--r--src/hci/mucurses/wininit.c2
-rw-r--r--src/hci/readline.c2
-rw-r--r--src/hci/shell.c2
-rw-r--r--src/hci/shell_banner.c2
-rw-r--r--src/hci/strerror.c2
-rw-r--r--src/hci/tui/login_ui.c2
-rw-r--r--src/hci/tui/settings_ui.c2
26 files changed, 52 insertions, 0 deletions
diff --git a/src/hci/commands/autoboot_cmd.c b/src/hci/commands/autoboot_cmd.c
index 0e6f2948..95b172d1 100644
--- a/src/hci/commands/autoboot_cmd.c
+++ b/src/hci/commands/autoboot_cmd.c
@@ -2,6 +2,8 @@
#include <gpxe/command.h>
#include <usr/autoboot.h>
+FILE_LICENCE ( GPL2_OR_LATER );
+
static int autoboot_exec ( int argc, char **argv ) {
if ( argc != 1 ) {
diff --git a/src/hci/commands/config_cmd.c b/src/hci/commands/config_cmd.c
index 87abb05a..a9e1f169 100644
--- a/src/hci/commands/config_cmd.c
+++ b/src/hci/commands/config_cmd.c
@@ -4,6 +4,8 @@
#include <gpxe/settings.h>
#include <gpxe/settings_ui.h>
+FILE_LICENCE ( GPL2_OR_LATER );
+
static int config_exec ( int argc, char **argv ) {
char *settings_name;
struct settings *settings;
diff --git a/src/hci/commands/dhcp_cmd.c b/src/hci/commands/dhcp_cmd.c
index 9b577c86..96aac8d4 100644
--- a/src/hci/commands/dhcp_cmd.c
+++ b/src/hci/commands/dhcp_cmd.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/hci/commands/ifmgmt_cmd.c b/src/hci/commands/ifmgmt_cmd.c
index f2508e55..586fc579 100644
--- a/src/hci/commands/ifmgmt_cmd.c
+++ b/src/hci/commands/ifmgmt_cmd.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdio.h>
#include <getopt.h>
#include <gpxe/netdevice.h>
diff --git a/src/hci/commands/image_cmd.c b/src/hci/commands/image_cmd.c
index 6d8b5908..68f1e87d 100644
--- a/src/hci/commands/image_cmd.c
+++ b/src/hci/commands/image_cmd.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/hci/commands/login_cmd.c b/src/hci/commands/login_cmd.c
index e425247d..0da2497a 100644
--- a/src/hci/commands/login_cmd.c
+++ b/src/hci/commands/login_cmd.c
@@ -3,6 +3,8 @@
#include <gpxe/command.h>
#include <gpxe/login_ui.h>
+FILE_LICENCE ( GPL2_OR_LATER );
+
static int login_exec ( int argc, char **argv ) {
int rc;
diff --git a/src/hci/commands/nvo_cmd.c b/src/hci/commands/nvo_cmd.c
index c0c07280..5eb2f06f 100644
--- a/src/hci/commands/nvo_cmd.c
+++ b/src/hci/commands/nvo_cmd.c
@@ -7,6 +7,8 @@
#include <gpxe/settings.h>
#include <gpxe/command.h>
+FILE_LICENCE ( GPL2_OR_LATER );
+
static int show_exec ( int argc, char **argv ) {
char buf[256];
int rc;
diff --git a/src/hci/commands/route_cmd.c b/src/hci/commands/route_cmd.c
index 227682cb..4372e34f 100644
--- a/src/hci/commands/route_cmd.c
+++ b/src/hci/commands/route_cmd.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdio.h>
#include <getopt.h>
#include <gpxe/command.h>
diff --git a/src/hci/commands/sanboot_cmd.c b/src/hci/commands/sanboot_cmd.c
index d5bbfb85..783b747b 100644
--- a/src/hci/commands/sanboot_cmd.c
+++ b/src/hci/commands/sanboot_cmd.c
@@ -4,6 +4,8 @@
#include <gpxe/command.h>
#include <usr/autoboot.h>
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* "sanboot" command syntax message
*
diff --git a/src/hci/editstring.c b/src/hci/editstring.c
index 347249f7..648f3389 100644
--- a/src/hci/editstring.c
+++ b/src/hci/editstring.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <assert.h>
#include <string.h>
#include <gpxe/keys.h>
diff --git a/src/hci/mucurses/ansi_screen.c b/src/hci/mucurses/ansi_screen.c
index 468bac02..51fc7c90 100644
--- a/src/hci/mucurses/ansi_screen.c
+++ b/src/hci/mucurses/ansi_screen.c
@@ -2,6 +2,8 @@
#include <curses.h>
#include <console.h>
+FILE_LICENCE ( GPL2_OR_LATER );
+
static void ansiscr_reset(struct _curses_screen *scr) __nonnull;
static void ansiscr_movetoyx(struct _curses_screen *scr,
unsigned int y, unsigned int x) __nonnull;
diff --git a/src/hci/mucurses/clear.c b/src/hci/mucurses/clear.c
index 1813939b..79b296cf 100644
--- a/src/hci/mucurses/clear.c
+++ b/src/hci/mucurses/clear.c
@@ -8,6 +8,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* Clear a window to the bottom from current cursor position
*
diff --git a/src/hci/mucurses/colour.c b/src/hci/mucurses/colour.c
index 2310641e..c1359c86 100644
--- a/src/hci/mucurses/colour.c
+++ b/src/hci/mucurses/colour.c
@@ -1,5 +1,7 @@
#include <curses.h>
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct colour_pair {
short fcol;
short bcol;
diff --git a/src/hci/mucurses/cursor.h b/src/hci/mucurses/cursor.h
index af86519c..16b7d27c 100644
--- a/src/hci/mucurses/cursor.h
+++ b/src/hci/mucurses/cursor.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
struct cursor_pos {
unsigned int y, x;
};
diff --git a/src/hci/mucurses/mucurses.c b/src/hci/mucurses/mucurses.c
index 3620d08b..087ebcc3 100644
--- a/src/hci/mucurses/mucurses.c
+++ b/src/hci/mucurses/mucurses.c
@@ -8,6 +8,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
static void _wupdcurs ( WINDOW *win ) __nonnull;
void _wputch ( WINDOW *win, chtype ch, int wrap ) __nonnull;
void _wputc ( WINDOW *win, char c, int wrap ) __nonnull;
diff --git a/src/hci/mucurses/mucurses.h b/src/hci/mucurses/mucurses.h
index 1476733f..7ac1086a 100644
--- a/src/hci/mucurses/mucurses.h
+++ b/src/hci/mucurses/mucurses.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#define WRAP 0
#define NOWRAP 1
diff --git a/src/hci/mucurses/print.c b/src/hci/mucurses/print.c
index 9fca3088..1608c0a7 100644
--- a/src/hci/mucurses/print.c
+++ b/src/hci/mucurses/print.c
@@ -10,6 +10,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* Add a single-byte character and rendition to a window and advance
* the cursor
diff --git a/src/hci/mucurses/widgets/editbox.c b/src/hci/mucurses/widgets/editbox.c
index a52089ce..ee7d609d 100644
--- a/src/hci/mucurses/widgets/editbox.c
+++ b/src/hci/mucurses/widgets/editbox.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <string.h>
#include <assert.h>
#include <gpxe/editbox.h>
diff --git a/src/hci/mucurses/winattrs.c b/src/hci/mucurses/winattrs.c
index 15f97326..f549d751 100644
--- a/src/hci/mucurses/winattrs.c
+++ b/src/hci/mucurses/winattrs.c
@@ -6,6 +6,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* Get the background rendition attributes for a window
*
diff --git a/src/hci/mucurses/wininit.c b/src/hci/mucurses/wininit.c
index cd27f9fe..782e7b5c 100644
--- a/src/hci/mucurses/wininit.c
+++ b/src/hci/mucurses/wininit.c
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* Initialise console environment
*
diff --git a/src/hci/readline.c b/src/hci/readline.c
index ff7a7679..e5699d51 100644
--- a/src/hci/readline.c
+++ b/src/hci/readline.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/src/hci/shell.c b/src/hci/shell.c
index 74787e3c..5bedbdc9 100644
--- a/src/hci/shell.c
+++ b/src/hci/shell.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/hci/shell_banner.c b/src/hci/shell_banner.c
index 3271c483..8afefe3d 100644
--- a/src/hci/shell_banner.c
+++ b/src/hci/shell_banner.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdio.h>
#include <console.h>
#include <unistd.h>
diff --git a/src/hci/strerror.c b/src/hci/strerror.c
index 8e7d878b..4b16608c 100644
--- a/src/hci/strerror.c
+++ b/src/hci/strerror.c
@@ -18,6 +18,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/**
* Find error description
*
diff --git a/src/hci/tui/login_ui.c b/src/hci/tui/login_ui.c
index c14a2c03..b80bf27b 100644
--- a/src/hci/tui/login_ui.c
+++ b/src/hci/tui/login_ui.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
/** @file
*
* Login UI
diff --git a/src/hci/tui/settings_ui.c b/src/hci/tui/settings_ui.c
index 83a56d3c..74ce6afb 100644
--- a/src/hci/tui/settings_ui.c
+++ b/src/hci/tui/settings_ui.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdio.h>
#include <stdarg.h>
#include <unistd.h>