diff options
Diffstat (limited to 'src/include')
156 files changed, 312 insertions, 0 deletions
diff --git a/src/include/assert.h b/src/include/assert.h index 93750a1e8..cc784bc18 100644 --- a/src/include/assert.h +++ b/src/include/assert.h @@ -10,6 +10,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef NDEBUG #define ASSERTING 0 #else diff --git a/src/include/byteswap.h b/src/include/byteswap.h index 6c3ced25f..466759cf8 100644 --- a/src/include/byteswap.h +++ b/src/include/byteswap.h @@ -1,6 +1,8 @@ #ifndef ETHERBOOT_BYTESWAP_H #define ETHERBOOT_BYTESWAP_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include "endian.h" #include "bits/byteswap.h" diff --git a/src/include/console.h b/src/include/console.h index 93c53adbf..62fedf5bd 100644 --- a/src/include/console.h +++ b/src/include/console.h @@ -14,6 +14,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * A console driver * diff --git a/src/include/ctype.h b/src/include/ctype.h index 7740443d9..8a04f47e1 100644 --- a/src/include/ctype.h +++ b/src/include/ctype.h @@ -6,6 +6,8 @@ * Character types */ +FILE_LICENCE ( GPL2_OR_LATER ); + #define isdigit(c) ((c) >= '0' && (c) <= '9') #define islower(c) ((c) >= 'a' && (c) <= 'z') #define isupper(c) ((c) >= 'A' && (c) <= 'Z') diff --git a/src/include/curses.h b/src/include/curses.h index 6b1c42d87..e2c5af23d 100644 --- a/src/include/curses.h +++ b/src/include/curses.h @@ -10,6 +10,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #undef ERR #define ERR (-1) diff --git a/src/include/elf.h b/src/include/elf.h index fadc0bdb4..04022b687 100644 --- a/src/include/elf.h +++ b/src/include/elf.h @@ -1,6 +1,8 @@ #ifndef ELF_H #define ELF_H +FILE_LICENCE ( GPL2_OR_LATER ); + #define EI_NIDENT 16 /* Size of e_ident array. */ /* Values for e_type. */ diff --git a/src/include/endian.h b/src/include/endian.h index 320062248..9682cf9b4 100644 --- a/src/include/endian.h +++ b/src/include/endian.h @@ -1,6 +1,8 @@ #ifndef ETHERBOOT_ENDIAN_H #define ETHERBOOT_ENDIAN_H +FILE_LICENCE ( GPL2_OR_LATER ); + /* Definitions for byte order, according to significance of bytes, from low addresses to high addresses. The value is what you get by putting '4' in the most significant byte, '3' in the second most diff --git a/src/include/errno.h b/src/include/errno.h index 58dff1fda..56095ecb8 100644 --- a/src/include/errno.h +++ b/src/include/errno.h @@ -1,6 +1,8 @@ #ifndef ERRNO_H #define ERRNO_H +FILE_LICENCE ( GPL2_OR_LATER ); + /** @file * * Error codes diff --git a/src/include/etherboot.h b/src/include/etherboot.h index 2a465954f..ad44e8a9b 100644 --- a/src/include/etherboot.h +++ b/src/include/etherboot.h @@ -6,6 +6,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <stdint.h> #include <stdlib.h> diff --git a/src/include/getopt.h b/src/include/getopt.h index 2505223ed..0fe43567e 100644 --- a/src/include/getopt.h +++ b/src/include/getopt.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> enum getopt_argument_requirement { diff --git a/src/include/gpxe/acpi.h b/src/include/gpxe/acpi.h index 33b1b2b71..12edda90a 100644 --- a/src/include/gpxe/acpi.h +++ b/src/include/gpxe/acpi.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> /** diff --git a/src/include/gpxe/aes.h b/src/include/gpxe/aes.h index bdb4b351e..bdc32bd63 100644 --- a/src/include/gpxe/aes.h +++ b/src/include/gpxe/aes.h @@ -1,6 +1,8 @@ #ifndef _GPXE_AES_H #define _GPXE_AES_H +FILE_LICENCE ( GPL2_OR_LATER ); + struct cipher_algorithm; extern struct cipher_algorithm aes_cbc_algorithm; diff --git a/src/include/gpxe/ansiesc.h b/src/include/gpxe/ansiesc.h index ccc4ca657..85f7a9f32 100644 --- a/src/include/gpxe/ansiesc.h +++ b/src/include/gpxe/ansiesc.h @@ -26,6 +26,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** A handler for an escape sequence */ struct ansiesc_handler { /** The control function identifier diff --git a/src/include/gpxe/aoe.h b/src/include/gpxe/aoe.h index 6de6b9653..6b42fd5b4 100644 --- a/src/include/gpxe/aoe.h +++ b/src/include/gpxe/aoe.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/list.h> #include <gpxe/if_ether.h> diff --git a/src/include/gpxe/api.h b/src/include/gpxe/api.h index df5d1ae3e..ff2ba595f 100644 --- a/src/include/gpxe/api.h +++ b/src/include/gpxe/api.h @@ -11,6 +11,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** @defgroup Single-implementation APIs * * These are APIs for which only a single implementation may be diff --git a/src/include/gpxe/arp.h b/src/include/gpxe/arp.h index 7dcc77930..0623d35c4 100644 --- a/src/include/gpxe/arp.h +++ b/src/include/gpxe/arp.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/tables.h> struct net_device; diff --git a/src/include/gpxe/asn1.h b/src/include/gpxe/asn1.h index 5440c48ca..477c209d3 100644 --- a/src/include/gpxe/asn1.h +++ b/src/include/gpxe/asn1.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #define ASN1_INTEGER 0x02 #define ASN1_BIT_STRING 0x03 #define ASN1_OCTET_STRING 0x04 diff --git a/src/include/gpxe/ata.h b/src/include/gpxe/ata.h index b6da39302..643b7cd9d 100644 --- a/src/include/gpxe/ata.h +++ b/src/include/gpxe/ata.h @@ -12,6 +12,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * An ATA Logical Block Address * diff --git a/src/include/gpxe/base64.h b/src/include/gpxe/base64.h index 3321971a1..e38bef012 100644 --- a/src/include/gpxe/base64.h +++ b/src/include/gpxe/base64.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> /** diff --git a/src/include/gpxe/bitbash.h b/src/include/gpxe/bitbash.h index 62bdce004..f2ba9f7a4 100644 --- a/src/include/gpxe/bitbash.h +++ b/src/include/gpxe/bitbash.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct bit_basher; /** Bit-bashing operations */ diff --git a/src/include/gpxe/bitmap.h b/src/include/gpxe/bitmap.h index 0c2f53c8a..d6911a51d 100644 --- a/src/include/gpxe/bitmap.h +++ b/src/include/gpxe/bitmap.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stddef.h> #include <stdlib.h> diff --git a/src/include/gpxe/bitops.h b/src/include/gpxe/bitops.h index 5405c8544..8db34312a 100644 --- a/src/include/gpxe/bitops.h +++ b/src/include/gpxe/bitops.h @@ -19,6 +19,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/include/gpxe/blockdev.h b/src/include/gpxe/blockdev.h index 8222984a8..cf28524de 100644 --- a/src/include/gpxe/blockdev.h +++ b/src/include/gpxe/blockdev.h @@ -8,6 +8,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/uaccess.h> struct block_device; diff --git a/src/include/gpxe/cbc.h b/src/include/gpxe/cbc.h index fcc115eb1..1262f1dbd 100644 --- a/src/include/gpxe/cbc.h +++ b/src/include/gpxe/cbc.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/crypto.h> /** diff --git a/src/include/gpxe/chap.h b/src/include/gpxe/chap.h index 87e5484f3..e86ede357 100644 --- a/src/include/gpxe/chap.h +++ b/src/include/gpxe/chap.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/md5.h> diff --git a/src/include/gpxe/command.h b/src/include/gpxe/command.h index 39bed4777..51ca6d6d5 100644 --- a/src/include/gpxe/command.h +++ b/src/include/gpxe/command.h @@ -1,6 +1,8 @@ #ifndef _GPXE_COMMAND_H #define _GPXE_COMMAND_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/tables.h> /** A command-line command */ diff --git a/src/include/gpxe/cpio.h b/src/include/gpxe/cpio.h index ba6f844a5..f462cec15 100644 --- a/src/include/gpxe/cpio.h +++ b/src/include/gpxe/cpio.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** A CPIO archive header * * All field are hexadecimal ASCII numbers padded with '0' on the diff --git a/src/include/gpxe/crypto.h b/src/include/gpxe/crypto.h index 10882d37e..3831b79c7 100644 --- a/src/include/gpxe/crypto.h +++ b/src/include/gpxe/crypto.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stddef.h> diff --git a/src/include/gpxe/device.h b/src/include/gpxe/device.h index 9017f9b9d..1db3ff906 100644 --- a/src/include/gpxe/device.h +++ b/src/include/gpxe/device.h @@ -8,6 +8,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/list.h> #include <gpxe/tables.h> diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h index 33e0c5d47..74741d969 100644 --- a/src/include/gpxe/dhcp.h +++ b/src/include/gpxe/dhcp.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/in.h> #include <gpxe/list.h> diff --git a/src/include/gpxe/dhcpopts.h b/src/include/gpxe/dhcpopts.h index 8391a9d4e..3d90f4116 100644 --- a/src/include/gpxe/dhcpopts.h +++ b/src/include/gpxe/dhcpopts.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> /** A DHCP options block */ diff --git a/src/include/gpxe/dhcppkt.h b/src/include/gpxe/dhcppkt.h index e8f8fafd9..6007ccabe 100644 --- a/src/include/gpxe/dhcppkt.h +++ b/src/include/gpxe/dhcppkt.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/dhcp.h> #include <gpxe/dhcpopts.h> #include <gpxe/refcnt.h> diff --git a/src/include/gpxe/dns.h b/src/include/gpxe/dns.h index 3e3cff1bc..9e5e874fe 100644 --- a/src/include/gpxe/dns.h +++ b/src/include/gpxe/dns.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/in.h> diff --git a/src/include/gpxe/downloader.h b/src/include/gpxe/downloader.h index 33aa76921..7f21e07bf 100644 --- a/src/include/gpxe/downloader.h +++ b/src/include/gpxe/downloader.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct job_interface; struct image; diff --git a/src/include/gpxe/editbox.h b/src/include/gpxe/editbox.h index 007b042f8..b7cc411b5 100644 --- a/src/include/gpxe/editbox.h +++ b/src/include/gpxe/editbox.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <curses.h> #include <gpxe/editstring.h> diff --git a/src/include/gpxe/editstring.h b/src/include/gpxe/editstring.h index fad8bd5a7..48c1baa0d 100644 --- a/src/include/gpxe/editstring.h +++ b/src/include/gpxe/editstring.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** An editable string */ struct edit_string { /** Buffer for string */ diff --git a/src/include/gpxe/efi/efi_io.h b/src/include/gpxe/efi/efi_io.h index 93f559db0..7ad5ffe70 100644 --- a/src/include/gpxe/efi/efi_io.h +++ b/src/include/gpxe/efi/efi_io.h @@ -10,6 +10,8 @@ * no-ops. I/O is handled using the EFI_CPU_IO_PROTOCOL. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef IOAPI_EFI #define IOAPI_PREFIX_efi #else diff --git a/src/include/gpxe/efi/efi_pci.h b/src/include/gpxe/efi/efi_pci.h index 8be331abd..59c0eb1d4 100644 --- a/src/include/gpxe/efi/efi_pci.h +++ b/src/include/gpxe/efi/efi_pci.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef PCIAPI_EFI #define PCIAPI_PREFIX_efi #else diff --git a/src/include/gpxe/efi/efi_smbios.h b/src/include/gpxe/efi/efi_smbios.h index df947de56..01631e525 100644 --- a/src/include/gpxe/efi/efi_smbios.h +++ b/src/include/gpxe/efi/efi_smbios.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef SMBIOS_EFI #define SMBIOS_PREFIX_efi #else diff --git a/src/include/gpxe/efi/efi_timer.h b/src/include/gpxe/efi/efi_timer.h index c332c9d6f..e0531d5af 100644 --- a/src/include/gpxe/efi/efi_timer.h +++ b/src/include/gpxe/efi/efi_timer.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef TIMER_EFI #define TIMER_PREFIX_efi #else diff --git a/src/include/gpxe/efi/efi_uaccess.h b/src/include/gpxe/efi/efi_uaccess.h index bae5fb41f..a6b61c58d 100644 --- a/src/include/gpxe/efi/efi_uaccess.h +++ b/src/include/gpxe/efi/efi_uaccess.h @@ -10,6 +10,8 @@ * no-ops. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef UACCESS_EFI #define UACCESS_PREFIX_efi #else diff --git a/src/include/gpxe/efi/efi_umalloc.h b/src/include/gpxe/efi/efi_umalloc.h index def17b2d9..0388dd10f 100644 --- a/src/include/gpxe/efi/efi_umalloc.h +++ b/src/include/gpxe/efi/efi_umalloc.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef UMALLOC_EFI #define UMALLOC_PREFIX_efi #else diff --git a/src/include/gpxe/eisa.h b/src/include/gpxe/eisa.h index cde46af2f..f76e4b9d0 100644 --- a/src/include/gpxe/eisa.h +++ b/src/include/gpxe/eisa.h @@ -1,6 +1,8 @@ #ifndef EISA_H #define EISA_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/isa_ids.h> #include <gpxe/device.h> diff --git a/src/include/gpxe/elf.h b/src/include/gpxe/elf.h index db28a60af..da9d2fc07 100644 --- a/src/include/gpxe/elf.h +++ b/src/include/gpxe/elf.h @@ -8,6 +8,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <elf.h> extern int elf_load ( struct image *image ); diff --git a/src/include/gpxe/errfile.h b/src/include/gpxe/errfile.h index dcfd4e4a1..7ca9c9989 100644 --- a/src/include/gpxe/errfile.h +++ b/src/include/gpxe/errfile.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <bits/errfile.h> /** diff --git a/src/include/gpxe/errortab.h b/src/include/gpxe/errortab.h index d519f68ce..35765d48d 100644 --- a/src/include/gpxe/errortab.h +++ b/src/include/gpxe/errortab.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/tables.h> struct errortab { diff --git a/src/include/gpxe/ethernet.h b/src/include/gpxe/ethernet.h index ff0fd6c11..45ab9a092 100644 --- a/src/include/gpxe/ethernet.h +++ b/src/include/gpxe/ethernet.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/netdevice.h> #include <gpxe/if_ether.h> diff --git a/src/include/gpxe/fakedhcp.h b/src/include/gpxe/fakedhcp.h index 550b74f73..c603bdc40 100644 --- a/src/include/gpxe/fakedhcp.h +++ b/src/include/gpxe/fakedhcp.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> struct net_device; diff --git a/src/include/gpxe/features.h b/src/include/gpxe/features.h index 8d3977cb6..db485bc27 100644 --- a/src/include/gpxe/features.h +++ b/src/include/gpxe/features.h @@ -11,6 +11,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @defgroup featurecat Feature categories * @{ diff --git a/src/include/gpxe/filter.h b/src/include/gpxe/filter.h index 126f63471..1f59fccc6 100644 --- a/src/include/gpxe/filter.h +++ b/src/include/gpxe/filter.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <gpxe/xfer.h> diff --git a/src/include/gpxe/ftp.h b/src/include/gpxe/ftp.h index 370285c6a..93194f658 100644 --- a/src/include/gpxe/ftp.h +++ b/src/include/gpxe/ftp.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** FTP default port */ #define FTP_PORT 21 diff --git a/src/include/gpxe/gdbserial.h b/src/include/gpxe/gdbserial.h index 1863e9076..2613ab47b 100644 --- a/src/include/gpxe/gdbserial.h +++ b/src/include/gpxe/gdbserial.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct gdb_transport; /** diff --git a/src/include/gpxe/gdbstub.h b/src/include/gpxe/gdbstub.h index 2e2c4dab4..8f9b7c1da 100644 --- a/src/include/gpxe/gdbstub.h +++ b/src/include/gpxe/gdbstub.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/tables.h> #include <gdbmach.h> diff --git a/src/include/gpxe/gdbudp.h b/src/include/gpxe/gdbudp.h index 1a990933a..5f02faaa9 100644 --- a/src/include/gpxe/gdbudp.h +++ b/src/include/gpxe/gdbudp.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct sockaddr_in; struct gdb_transport; diff --git a/src/include/gpxe/hidemem.h b/src/include/gpxe/hidemem.h index 010fdb582..01b3fc242 100644 --- a/src/include/gpxe/hidemem.h +++ b/src/include/gpxe/hidemem.h @@ -8,6 +8,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> extern void hide_umalloc ( physaddr_t start, physaddr_t end ); diff --git a/src/include/gpxe/hmac.h b/src/include/gpxe/hmac.h index 67aefdce1..cb001b9d3 100644 --- a/src/include/gpxe/hmac.h +++ b/src/include/gpxe/hmac.h @@ -6,6 +6,8 @@ * Keyed-Hashing for Message Authentication */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/crypto.h> /** diff --git a/src/include/gpxe/http.h b/src/include/gpxe/http.h index fa92a9505..baa6d83ee 100644 --- a/src/include/gpxe/http.h +++ b/src/include/gpxe/http.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** HTTP default port */ #define HTTP_PORT 80 diff --git a/src/include/gpxe/i2c.h b/src/include/gpxe/i2c.h index 9d2295465..87b89d46a 100644 --- a/src/include/gpxe/i2c.h +++ b/src/include/gpxe/i2c.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/bitbash.h> diff --git a/src/include/gpxe/ib_mad.h b/src/include/gpxe/ib_mad.h index 6c4e95b74..4544123c1 100644 --- a/src/include/gpxe/ib_mad.h +++ b/src/include/gpxe/ib_mad.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/ib_packet.h> diff --git a/src/include/gpxe/ib_packet.h b/src/include/gpxe/ib_packet.h index 5374802c6..fb9591261 100644 --- a/src/include/gpxe/ib_packet.h +++ b/src/include/gpxe/ib_packet.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct ib_device; struct ib_queue_pair; struct ib_address_vector; diff --git a/src/include/gpxe/ib_sma.h b/src/include/gpxe/ib_sma.h index 835ed4ead..af40a48a2 100644 --- a/src/include/gpxe/ib_sma.h +++ b/src/include/gpxe/ib_sma.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/infiniband.h> #include <gpxe/process.h> diff --git a/src/include/gpxe/ib_smc.h b/src/include/gpxe/ib_smc.h index bb9020bf6..fdd1c9cca 100644 --- a/src/include/gpxe/ib_smc.h +++ b/src/include/gpxe/ib_smc.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/infiniband.h> typedef int ( * ib_local_mad_t ) ( struct ib_device *ibdev, diff --git a/src/include/gpxe/icmp.h b/src/include/gpxe/icmp.h index 49ade2f2e..bb8fce8ba 100644 --- a/src/include/gpxe/icmp.h +++ b/src/include/gpxe/icmp.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** An ICMP header */ struct icmp_header { /** Type */ diff --git a/src/include/gpxe/icmp6.h b/src/include/gpxe/icmp6.h index 340936165..e8fd1eb39 100644 --- a/src/include/gpxe/icmp6.h +++ b/src/include/gpxe/icmp6.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/ip6.h> #include <gpxe/ndp.h> diff --git a/src/include/gpxe/if_arp.h b/src/include/gpxe/if_arp.h index 5b2503379..932bb3b2c 100644 --- a/src/include/gpxe/if_arp.h +++ b/src/include/gpxe/if_arp.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> /* ARP protocol HARDWARE identifiers. */ diff --git a/src/include/gpxe/if_ether.h b/src/include/gpxe/if_ether.h index 2f3f33d46..57f8e1219 100644 --- a/src/include/gpxe/if_ether.h +++ b/src/include/gpxe/if_ether.h @@ -1,6 +1,8 @@ #ifndef _GPXE_IF_ETHER_H #define _GPXE_IF_ETHER_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #define ETH_ALEN 6 /* Size of Ethernet address */ diff --git a/src/include/gpxe/image.h b/src/include/gpxe/image.h index b40474671..10db8af21 100644 --- a/src/include/gpxe/image.h +++ b/src/include/gpxe/image.h @@ -8,6 +8,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/tables.h> #include <gpxe/list.h> #include <gpxe/uaccess.h> diff --git a/src/include/gpxe/in.h b/src/include/gpxe/in.h index 831a6110f..70271143a 100644 --- a/src/include/gpxe/in.h +++ b/src/include/gpxe/in.h @@ -1,6 +1,8 @@ #ifndef _GPXE_IN_H #define _GPXE_IN_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/socket.h> diff --git a/src/include/gpxe/infiniband.h b/src/include/gpxe/infiniband.h index 196b59506..7d5442379 100644 --- a/src/include/gpxe/infiniband.h +++ b/src/include/gpxe/infiniband.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/refcnt.h> #include <gpxe/device.h> diff --git a/src/include/gpxe/init.h b/src/include/gpxe/init.h index 5a51b033f..a72cba7a7 100644 --- a/src/include/gpxe/init.h +++ b/src/include/gpxe/init.h @@ -1,6 +1,8 @@ #ifndef _GPXE_INIT_H #define _GPXE_INIT_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/tables.h> /** diff --git a/src/include/gpxe/interface.h b/src/include/gpxe/interface.h index 94c711a99..114ebf32d 100644 --- a/src/include/gpxe/interface.h +++ b/src/include/gpxe/interface.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/refcnt.h> /** An object communication interface */ diff --git a/src/include/gpxe/io.h b/src/include/gpxe/io.h index ebb8ba30f..919823d98 100644 --- a/src/include/gpxe/io.h +++ b/src/include/gpxe/io.h @@ -16,6 +16,8 @@ * the address parameter. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/api.h> #include <config/ioapi.h> diff --git a/src/include/gpxe/iobuf.h b/src/include/gpxe/iobuf.h index 6d1a58a44..8f05f9eae 100644 --- a/src/include/gpxe/iobuf.h +++ b/src/include/gpxe/iobuf.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <assert.h> #include <gpxe/list.h> diff --git a/src/include/gpxe/ip.h b/src/include/gpxe/ip.h index b1b0c48c3..4342a0c71 100644 --- a/src/include/gpxe/ip.h +++ b/src/include/gpxe/ip.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/in.h> #include <gpxe/list.h> diff --git a/src/include/gpxe/ip6.h b/src/include/gpxe/ip6.h index dc0ae31f8..edb2863c8 100644 --- a/src/include/gpxe/ip6.h +++ b/src/include/gpxe/ip6.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/in.h> diff --git a/src/include/gpxe/ipoib.h b/src/include/gpxe/ipoib.h index 80adee5b0..5db238479 100644 --- a/src/include/gpxe/ipoib.h +++ b/src/include/gpxe/ipoib.h @@ -6,6 +6,8 @@ * IP over Infiniband */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/infiniband.h> /** IPoIB packet length */ diff --git a/src/include/gpxe/isa.h b/src/include/gpxe/isa.h index 458d754be..63027a5a4 100644 --- a/src/include/gpxe/isa.h +++ b/src/include/gpxe/isa.h @@ -1,6 +1,8 @@ #ifndef ISA_H #define ISA_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/isa_ids.h> #include <gpxe/device.h> diff --git a/src/include/gpxe/isa_ids.h b/src/include/gpxe/isa_ids.h index bf3f1015a..1faf1148d 100644 --- a/src/include/gpxe/isa_ids.h +++ b/src/include/gpxe/isa_ids.h @@ -19,6 +19,8 @@ * the underlying "meaning" is big-endian. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <byteswap.h> /* diff --git a/src/include/gpxe/isapnp.h b/src/include/gpxe/isapnp.h index 633f7b0c5..b58a87e4f 100644 --- a/src/include/gpxe/isapnp.h +++ b/src/include/gpxe/isapnp.h @@ -33,6 +33,8 @@ * ***************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifndef ISAPNP_H #define ISAPNP_H diff --git a/src/include/gpxe/iscsi.h b/src/include/gpxe/iscsi.h index 0510974e8..9185d6240 100644 --- a/src/include/gpxe/iscsi.h +++ b/src/include/gpxe/iscsi.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/socket.h> #include <gpxe/scsi.h> diff --git a/src/include/gpxe/job.h b/src/include/gpxe/job.h index 8e11aa337..733a711b7 100644 --- a/src/include/gpxe/job.h +++ b/src/include/gpxe/job.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <gpxe/interface.h> diff --git a/src/include/gpxe/keys.h b/src/include/gpxe/keys.h index 3da8a1ff0..25bc9bc06 100644 --- a/src/include/gpxe/keys.h +++ b/src/include/gpxe/keys.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /* * Symbolic names for some standard ASCII characters * diff --git a/src/include/gpxe/linebuf.h b/src/include/gpxe/linebuf.h index 676731a97..cfa21472f 100644 --- a/src/include/gpxe/linebuf.h +++ b/src/include/gpxe/linebuf.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stddef.h> diff --git a/src/include/gpxe/linux_compat.h b/src/include/gpxe/linux_compat.h index 2c3cbbde0..577512eb6 100644 --- a/src/include/gpxe/linux_compat.h +++ b/src/include/gpxe/linux_compat.h @@ -10,6 +10,8 @@ * intended to be a substitute for proper porting. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <errno.h> #include <stdio.h> diff --git a/src/include/gpxe/list.h b/src/include/gpxe/list.h index 602382be6..22ba20154 100644 --- a/src/include/gpxe/list.h +++ b/src/include/gpxe/list.h @@ -9,6 +9,8 @@ * list.h. */ +FILE_LICENCE ( GPL2_ONLY ); + #include <stddef.h> #include <assert.h> diff --git a/src/include/gpxe/login_ui.h b/src/include/gpxe/login_ui.h index d92ba8f3d..4196f7b15 100644 --- a/src/include/gpxe/login_ui.h +++ b/src/include/gpxe/login_ui.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + extern int login_ui ( void ); #endif /* _GPXE_LOGIN_UI_H */ diff --git a/src/include/gpxe/malloc.h b/src/include/gpxe/malloc.h index cce5d1d34..c02a86685 100644 --- a/src/include/gpxe/malloc.h +++ b/src/include/gpxe/malloc.h @@ -9,6 +9,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /* * Prototypes for the standard functions (malloc() et al) are in * stdlib.h. Include <gpxe/malloc.h> only if you need the diff --git a/src/include/gpxe/mca.h b/src/include/gpxe/mca.h index d276acfe6..da9d73e44 100644 --- a/src/include/gpxe/mca.h +++ b/src/include/gpxe/mca.h @@ -5,6 +5,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifndef MCA_H #define MCA_H diff --git a/src/include/gpxe/md5.h b/src/include/gpxe/md5.h index f8976a19b..03d65c1a9 100644 --- a/src/include/gpxe/md5.h +++ b/src/include/gpxe/md5.h @@ -1,6 +1,8 @@ #ifndef _GPXE_MD5_H #define _GPXE_MD5_H +FILE_LICENCE ( GPL2_OR_LATER ); + struct digest_algorithm; #include <stdint.h> diff --git a/src/include/gpxe/memmap.h b/src/include/gpxe/memmap.h index 836a1b929..dc5bec3bf 100644 --- a/src/include/gpxe/memmap.h +++ b/src/include/gpxe/memmap.h @@ -10,6 +10,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** A usable memory region */ struct memory_region { /** Physical start address */ diff --git a/src/include/gpxe/monojob.h b/src/include/gpxe/monojob.h index aaa38d03c..35ff4fd3c 100644 --- a/src/include/gpxe/monojob.h +++ b/src/include/gpxe/monojob.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct job_interface; extern struct job_interface monojob; diff --git a/src/include/gpxe/nap.h b/src/include/gpxe/nap.h index f9ae3cf43..6c2e40cfb 100644 --- a/src/include/gpxe/nap.h +++ b/src/include/gpxe/nap.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/api.h> #include <config/nap.h> diff --git a/src/include/gpxe/netdevice.h b/src/include/gpxe/netdevice.h index e4f5ed36a..a2d1e6927 100644 --- a/src/include/gpxe/netdevice.h +++ b/src/include/gpxe/netdevice.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/list.h> #include <gpxe/tables.h> diff --git a/src/include/gpxe/null_nap.h b/src/include/gpxe/null_nap.h index 6dd0cda3e..0f46eaa22 100644 --- a/src/include/gpxe/null_nap.h +++ b/src/include/gpxe/null_nap.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef NAP_NULL #define NAP_PREFIX_null #else diff --git a/src/include/gpxe/nvo.h b/src/include/gpxe/nvo.h index 28068f4b0..c96507061 100644 --- a/src/include/gpxe/nvo.h +++ b/src/include/gpxe/nvo.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/dhcpopts.h> #include <gpxe/settings.h> diff --git a/src/include/gpxe/nvs.h b/src/include/gpxe/nvs.h index b026dd462..5c90c6556 100644 --- a/src/include/gpxe/nvs.h +++ b/src/include/gpxe/nvs.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> /** A non-volatile storage device */ diff --git a/src/include/gpxe/open.h b/src/include/gpxe/open.h index 136ff87f8..ebf754da6 100644 --- a/src/include/gpxe/open.h +++ b/src/include/gpxe/open.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdarg.h> #include <gpxe/tables.h> #include <gpxe/socket.h> diff --git a/src/include/gpxe/pci.h b/src/include/gpxe/pci.h index 11bb5a8d4..1789c62c4 100644 --- a/src/include/gpxe/pci.h +++ b/src/include/gpxe/pci.h @@ -16,6 +16,8 @@ * your option) any later version. */ +FILE_LICENCE ( GPL2_ONLY ); + #include <stdint.h> #include <gpxe/device.h> #include <gpxe/tables.h> diff --git a/src/include/gpxe/pci_ids.h b/src/include/gpxe/pci_ids.h index 075ff96bc..f570c08f0 100644 --- a/src/include/gpxe/pci_ids.h +++ b/src/include/gpxe/pci_ids.h @@ -7,6 +7,8 @@ * Please keep sorted. */ +FILE_LICENCE ( GPL2_ONLY ); + /* Device classes and subclasses */ #define PCI_CLASS_NOT_DEFINED 0x0000 diff --git a/src/include/gpxe/pci_io.h b/src/include/gpxe/pci_io.h index 365166c8d..8b2729ab4 100644 --- a/src/include/gpxe/pci_io.h +++ b/src/include/gpxe/pci_io.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/api.h> #include <config/ioapi.h> diff --git a/src/include/gpxe/posix_io.h b/src/include/gpxe/posix_io.h index 9984db005..3063dfff2 100644 --- a/src/include/gpxe/posix_io.h +++ b/src/include/gpxe/posix_io.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/uaccess.h> diff --git a/src/include/gpxe/process.h b/src/include/gpxe/process.h index 42e4dfa6a..a46091911 100644 --- a/src/include/gpxe/process.h +++ b/src/include/gpxe/process.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/list.h> #include <gpxe/refcnt.h> #include <gpxe/tables.h> diff --git a/src/include/gpxe/profile.h b/src/include/gpxe/profile.h index d46ca05ac..a5bdd3a45 100644 --- a/src/include/gpxe/profile.h +++ b/src/include/gpxe/profile.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> /** diff --git a/src/include/gpxe/ramdisk.h b/src/include/gpxe/ramdisk.h index 4a77f05e7..31a1d9982 100644 --- a/src/include/gpxe/ramdisk.h +++ b/src/include/gpxe/ramdisk.h @@ -8,6 +8,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/uaccess.h> #include <gpxe/blockdev.h> diff --git a/src/include/gpxe/rarp.h b/src/include/gpxe/rarp.h index 81e03bde2..7ade8312b 100644 --- a/src/include/gpxe/rarp.h +++ b/src/include/gpxe/rarp.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct net_protocol; extern struct net_protocol rarp_protocol; diff --git a/src/include/gpxe/refcnt.h b/src/include/gpxe/refcnt.h index 68e0fd4b0..e56f1d310 100644 --- a/src/include/gpxe/refcnt.h +++ b/src/include/gpxe/refcnt.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * A reference counter * diff --git a/src/include/gpxe/resolv.h b/src/include/gpxe/resolv.h index 81207d28e..33bb0986b 100644 --- a/src/include/gpxe/resolv.h +++ b/src/include/gpxe/resolv.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/refcnt.h> #include <gpxe/interface.h> #include <gpxe/tables.h> diff --git a/src/include/gpxe/retry.h b/src/include/gpxe/retry.h index 1e7fde4c3..ada0204d6 100644 --- a/src/include/gpxe/retry.h +++ b/src/include/gpxe/retry.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/list.h> /** Default timeout value */ diff --git a/src/include/gpxe/rotate.h b/src/include/gpxe/rotate.h index 42ec7196f..0371c578b 100644 --- a/src/include/gpxe/rotate.h +++ b/src/include/gpxe/rotate.h @@ -6,6 +6,8 @@ * Bit operations */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> static inline uint32_t rol32 ( uint32_t data, unsigned int rotation ) { diff --git a/src/include/gpxe/rsa.h b/src/include/gpxe/rsa.h index e30e1a5a3..5052ad46f 100644 --- a/src/include/gpxe/rsa.h +++ b/src/include/gpxe/rsa.h @@ -1,6 +1,8 @@ #ifndef _GPXE_RSA_H #define _GPXE_RSA_H +FILE_LICENCE ( GPL2_OR_LATER ); + struct pubkey_algorithm; extern struct pubkey_algorithm rsa_algorithm; diff --git a/src/include/gpxe/sanboot.h b/src/include/gpxe/sanboot.h index 05a3ddf0f..6ec2ec24b 100644 --- a/src/include/gpxe/sanboot.h +++ b/src/include/gpxe/sanboot.h @@ -1,6 +1,8 @@ #ifndef _GPXE_SANBOOT_H #define _GPXE_SANBOOT_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/tables.h> struct sanboot_protocol { diff --git a/src/include/gpxe/scsi.h b/src/include/gpxe/scsi.h index e820117be..115fd3fe2 100644 --- a/src/include/gpxe/scsi.h +++ b/src/include/gpxe/scsi.h @@ -12,6 +12,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @defgroup scsiops SCSI operation codes * @{ diff --git a/src/include/gpxe/segment.h b/src/include/gpxe/segment.h index 5ab916990..5b59c54c5 100644 --- a/src/include/gpxe/segment.h +++ b/src/include/gpxe/segment.h @@ -8,6 +8,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/uaccess.h> extern int prep_segment ( userptr_t segment, size_t filesz, size_t memsz ); diff --git a/src/include/gpxe/serial.h b/src/include/gpxe/serial.h index 2825b9369..a72ca7e81 100644 --- a/src/include/gpxe/serial.h +++ b/src/include/gpxe/serial.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + extern void serial_putc ( int ch ); extern int serial_getc ( void ); extern int serial_ischar ( void ); diff --git a/src/include/gpxe/settings.h b/src/include/gpxe/settings.h index c25b6ad47..ed3f1590c 100644 --- a/src/include/gpxe/settings.h +++ b/src/include/gpxe/settings.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/tables.h> #include <gpxe/list.h> diff --git a/src/include/gpxe/settings_ui.h b/src/include/gpxe/settings_ui.h index 48548fd59..a82d73366 100644 --- a/src/include/gpxe/settings_ui.h +++ b/src/include/gpxe/settings_ui.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct settings; extern int settings_ui ( struct settings *settings ) __nonnull; diff --git a/src/include/gpxe/sha1.h b/src/include/gpxe/sha1.h index 66370d42c..8109a8a05 100644 --- a/src/include/gpxe/sha1.h +++ b/src/include/gpxe/sha1.h @@ -1,6 +1,8 @@ #ifndef _GPXE_SHA1_H #define _GPXE_SHA1_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include "crypto/axtls/crypto.h" struct digest_algorithm; diff --git a/src/include/gpxe/shell.h b/src/include/gpxe/shell.h index c353fc4d7..a65a34432 100644 --- a/src/include/gpxe/shell.h +++ b/src/include/gpxe/shell.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + extern void shell ( void ); #endif /* _GPXE_SHELL_H */ diff --git a/src/include/gpxe/shell_banner.h b/src/include/gpxe/shell_banner.h index f8e92a4de..28482be8a 100644 --- a/src/include/gpxe/shell_banner.h +++ b/src/include/gpxe/shell_banner.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + extern int shell_banner ( void ); #endif /* _GPXE_SHELL_BANNER_H */ diff --git a/src/include/gpxe/smbios.h b/src/include/gpxe/smbios.h index a2942366d..4df25c3e7 100644 --- a/src/include/gpxe/smbios.h +++ b/src/include/gpxe/smbios.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/api.h> #include <config/general.h> diff --git a/src/include/gpxe/socket.h b/src/include/gpxe/socket.h index b683bed65..9ea0db949 100644 --- a/src/include/gpxe/socket.h +++ b/src/include/gpxe/socket.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> /** diff --git a/src/include/gpxe/spi.h b/src/include/gpxe/spi.h index 8f90e3d46..ebfc3226b 100644 --- a/src/include/gpxe/spi.h +++ b/src/include/gpxe/spi.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/nvs.h> /** diff --git a/src/include/gpxe/spi_bit.h b/src/include/gpxe/spi_bit.h index ced85ceba..8bd251966 100644 --- a/src/include/gpxe/spi_bit.h +++ b/src/include/gpxe/spi_bit.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/spi.h> #include <gpxe/bitbash.h> diff --git a/src/include/gpxe/tables.h b/src/include/gpxe/tables.h index 39b4777f2..7dfced8c4 100644 --- a/src/include/gpxe/tables.h +++ b/src/include/gpxe/tables.h @@ -1,6 +1,8 @@ #ifndef _GPXE_TABLES_H #define _GPXE_TABLES_H +FILE_LICENCE ( GPL2_OR_LATER ); + /** @page ifdef_harmful #ifdef considered harmful * * Overuse of @c #ifdef has long been a problem in Etherboot. diff --git a/src/include/gpxe/tcp.h b/src/include/gpxe/tcp.h index 264ec29b4..6fb673acc 100644 --- a/src/include/gpxe/tcp.h +++ b/src/include/gpxe/tcp.h @@ -9,6 +9,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/tcpip.h> /** diff --git a/src/include/gpxe/tcpip.h b/src/include/gpxe/tcpip.h index 544b9fef5..f71d7d6d3 100644 --- a/src/include/gpxe/tcpip.h +++ b/src/include/gpxe/tcpip.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/socket.h> #include <gpxe/in.h> diff --git a/src/include/gpxe/tftp.h b/src/include/gpxe/tftp.h index 0177a95af..c57bb254c 100644 --- a/src/include/gpxe/tftp.h +++ b/src/include/gpxe/tftp.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #define TFTP_PORT 69 /**< Default TFTP server port */ diff --git a/src/include/gpxe/threewire.h b/src/include/gpxe/threewire.h index 865fc25d5..4dc755c2e 100644 --- a/src/include/gpxe/threewire.h +++ b/src/include/gpxe/threewire.h @@ -10,6 +10,8 @@ * support. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/spi.h> #include <limits.h> diff --git a/src/include/gpxe/timer.h b/src/include/gpxe/timer.h index 862d87b31..86722dca9 100644 --- a/src/include/gpxe/timer.h +++ b/src/include/gpxe/timer.h @@ -9,6 +9,8 @@ * for a monotonically increasing tick counter. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/api.h> #include <config/timer.h> diff --git a/src/include/gpxe/tls.h b/src/include/gpxe/tls.h index ddec7bec2..e2da0462e 100644 --- a/src/include/gpxe/tls.h +++ b/src/include/gpxe/tls.h @@ -7,6 +7,8 @@ * Transport Layer Security Protocol */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/refcnt.h> #include <gpxe/filter.h> diff --git a/src/include/gpxe/uaccess.h b/src/include/gpxe/uaccess.h index 33aaed18e..5a8f29217 100644 --- a/src/include/gpxe/uaccess.h +++ b/src/include/gpxe/uaccess.h @@ -19,6 +19,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <string.h> #include <gpxe/api.h> diff --git a/src/include/gpxe/udp.h b/src/include/gpxe/udp.h index e515f6503..670c5e5ab 100644 --- a/src/include/gpxe/udp.h +++ b/src/include/gpxe/udp.h @@ -9,6 +9,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <gpxe/iobuf.h> #include <gpxe/tcpip.h> diff --git a/src/include/gpxe/umalloc.h b/src/include/gpxe/umalloc.h index e6fc7bf0f..b0e556458 100644 --- a/src/include/gpxe/umalloc.h +++ b/src/include/gpxe/umalloc.h @@ -8,6 +8,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/api.h> #include <config/umalloc.h> #include <gpxe/uaccess.h> diff --git a/src/include/gpxe/uri.h b/src/include/gpxe/uri.h index 3803868d2..03c88d25f 100644 --- a/src/include/gpxe/uri.h +++ b/src/include/gpxe/uri.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <stdlib.h> #include <gpxe/refcnt.h> diff --git a/src/include/gpxe/uuid.h b/src/include/gpxe/uuid.h index 18d1f1412..019cd052f 100644 --- a/src/include/gpxe/uuid.h +++ b/src/include/gpxe/uuid.h @@ -6,6 +6,8 @@ * Universally unique IDs */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> /** A universally unique ID */ diff --git a/src/include/gpxe/vsprintf.h b/src/include/gpxe/vsprintf.h index aa8f8a33d..ee860a52c 100644 --- a/src/include/gpxe/vsprintf.h +++ b/src/include/gpxe/vsprintf.h @@ -31,6 +31,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stdarg.h> #include <stdio.h> diff --git a/src/include/gpxe/x509.h b/src/include/gpxe/x509.h index 071e1de56..1b9d9aabb 100644 --- a/src/include/gpxe/x509.h +++ b/src/include/gpxe/x509.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> struct asn1_cursor; diff --git a/src/include/gpxe/xfer.h b/src/include/gpxe/xfer.h index e592fa380..edd370345 100644 --- a/src/include/gpxe/xfer.h +++ b/src/include/gpxe/xfer.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <stdarg.h> #include <gpxe/interface.h> diff --git a/src/include/libgen.h b/src/include/libgen.h index 56a2f760b..7e94881a9 100644 --- a/src/include/libgen.h +++ b/src/include/libgen.h @@ -1,6 +1,8 @@ #ifndef _LIBGEN_H #define _LIBGEN_H +FILE_LICENCE ( GPL2_OR_LATER ); + extern char * basename ( char *path ); extern char * dirname ( char *path ); diff --git a/src/include/little_bswap.h b/src/include/little_bswap.h index e4f83753a..a5dc9c875 100644 --- a/src/include/little_bswap.h +++ b/src/include/little_bswap.h @@ -1,6 +1,8 @@ #ifndef ETHERBOOT_LITTLE_BSWAP_H #define ETHERBOOT_LITTLE_BSWAP_H +FILE_LICENCE ( GPL2_OR_LATER ); + #define ntohl(x) __bswap_32(x) #define htonl(x) __bswap_32(x) #define ntohs(x) __bswap_16(x) diff --git a/src/include/mii.h b/src/include/mii.h index 34c1ca9b1..e17ec63ba 100644 --- a/src/include/mii.h +++ b/src/include/mii.h @@ -10,6 +10,8 @@ * 03/26/2004 */ +FILE_LICENCE ( GPL2_ONLY ); + /* Generic MII registers. */ #define MII_BMCR 0x00 /* Basic mode control register */ diff --git a/src/include/nic.h b/src/include/nic.h index f55db4a5f..c808972a5 100644 --- a/src/include/nic.h +++ b/src/include/nic.h @@ -5,6 +5,8 @@ * your option) any later version. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifndef NIC_H #define NIC_H diff --git a/src/include/readline/readline.h b/src/include/readline/readline.h index 1a03b4836..700b7aa2e 100644 --- a/src/include/readline/readline.h +++ b/src/include/readline/readline.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + extern char * __malloc readline ( const char *prompt ); #endif /* _READLINE_H */ diff --git a/src/include/stdarg.h b/src/include/stdarg.h index a4eb711d0..78b261ae3 100644 --- a/src/include/stdarg.h +++ b/src/include/stdarg.h @@ -1,6 +1,8 @@ #ifndef _STDARG_H #define _STDARG_H +FILE_LICENCE ( GPL2_OR_LATER ); + typedef __builtin_va_list va_list; #define va_start( ap, last ) __builtin_va_start ( ap, last ) #define va_arg( ap, type ) __builtin_va_arg ( ap, type ) diff --git a/src/include/stddef.h b/src/include/stddef.h index 11ea93456..2a02a8985 100644 --- a/src/include/stddef.h +++ b/src/include/stddef.h @@ -1,6 +1,8 @@ #ifndef STDDEF_H #define STDDEF_H +FILE_LICENCE ( GPL2_ONLY ); + /* for size_t */ #include <stdint.h> diff --git a/src/include/stdint.h b/src/include/stdint.h index dc4bd8c76..8cc9b84a5 100644 --- a/src/include/stdint.h +++ b/src/include/stdint.h @@ -1,6 +1,8 @@ #ifndef _STDINT_H #define _STDINT_H +FILE_LICENCE ( GPL2_OR_LATER ); + /* * This is a standard predefined macro on all gcc's I've seen. It's * important that we define size_t in the same way as the compiler, diff --git a/src/include/stdio.h b/src/include/stdio.h index 82077e20f..84181f0a1 100644 --- a/src/include/stdio.h +++ b/src/include/stdio.h @@ -1,6 +1,8 @@ #ifndef _STDIO_H #define _STDIO_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stdarg.h> diff --git a/src/include/stdlib.h b/src/include/stdlib.h index 838a22acf..254e39b3a 100644 --- a/src/include/stdlib.h +++ b/src/include/stdlib.h @@ -1,6 +1,8 @@ #ifndef STDLIB_H #define STDLIB_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <assert.h> diff --git a/src/include/string.h b/src/include/string.h index a2894a3a3..2fd6acf16 100644 --- a/src/include/string.h +++ b/src/include/string.h @@ -11,6 +11,8 @@ * published by the Free Software Foundation. */ +FILE_LICENCE ( GPL2_ONLY ); + #ifndef ETHERBOOT_STRING_H #define ETHERBOOT_STRING_H diff --git a/src/include/strings.h b/src/include/strings.h index 968a7c11d..c7063d682 100644 --- a/src/include/strings.h +++ b/src/include/strings.h @@ -1,6 +1,8 @@ #ifndef _STRINGS_H #define _STRINGS_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <limits.h> #include <string.h> diff --git a/src/include/unistd.h b/src/include/unistd.h index dc1f67f6e..ef946947c 100644 --- a/src/include/unistd.h +++ b/src/include/unistd.h @@ -1,6 +1,8 @@ #ifndef _UNISTD_H #define _UNISTD_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <stdarg.h> diff --git a/src/include/usr/autoboot.h b/src/include/usr/autoboot.h index 1e9647c35..16306cd0d 100644 --- a/src/include/usr/autoboot.h +++ b/src/include/usr/autoboot.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/in.h> struct net_device; diff --git a/src/include/usr/dhcpmgmt.h b/src/include/usr/dhcpmgmt.h index 0f275600d..2394dac42 100644 --- a/src/include/usr/dhcpmgmt.h +++ b/src/include/usr/dhcpmgmt.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct net_device; extern int dhcp ( struct net_device *netdev ); diff --git a/src/include/usr/ifmgmt.h b/src/include/usr/ifmgmt.h index 7b49d3492..f762c7ba9 100644 --- a/src/include/usr/ifmgmt.h +++ b/src/include/usr/ifmgmt.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct net_device; extern int ifopen ( struct net_device *netdev ); diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h index 438af0039..0c8c8cf72 100644 --- a/src/include/usr/imgmgmt.h +++ b/src/include/usr/imgmgmt.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct image; extern int imgfetch ( struct image *image, const char *uri_string, diff --git a/src/include/usr/route.h b/src/include/usr/route.h index fc8558926..855fa7ba8 100644 --- a/src/include/usr/route.h +++ b/src/include/usr/route.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + extern void route ( void ); #endif /* _USR_ROUTE_H */ |