diff options
author | Michael Brown <mcb30@etherboot.org> | 2009-05-01 15:41:06 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2009-05-18 08:33:25 +0100 |
commit | c44a193d0d147ed6f98741124569864e516e9d4b (patch) | |
tree | 94a9b841e13eb643181e180f358c8612b1b29bfc | |
parent | 41307f2874989048679c83686527a3887ed485b3 (diff) | |
download | ipxe-c44a193d0d147ed6f98741124569864e516e9d4b.tar.gz |
[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.
518 files changed, 1039 insertions, 2 deletions
diff --git a/src/arch/i386/core/basemem_packet.c b/src/arch/i386/core/basemem_packet.c index 64e0bcc1d..d487cce36 100644 --- a/src/arch/i386/core/basemem_packet.c +++ b/src/arch/i386/core/basemem_packet.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/arch/i386/core/pic8259.c b/src/arch/i386/core/pic8259.c index 8a0433dd7..1e2d23c5d 100644 --- a/src/arch/i386/core/pic8259.c +++ b/src/arch/i386/core/pic8259.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/io.h> #include <pic8259.h> diff --git a/src/arch/i386/core/rdtsc_timer.c b/src/arch/i386/core/rdtsc_timer.c index 443c8adaf..766791732 100644 --- a/src/arch/i386/core/rdtsc_timer.c +++ b/src/arch/i386/core/rdtsc_timer.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** @file * * RDTSC timer diff --git a/src/arch/i386/core/relocate.c b/src/arch/i386/core/relocate.c index bdc8498ed..44e764fe0 100644 --- a/src/arch/i386/core/relocate.c +++ b/src/arch/i386/core/relocate.c @@ -9,6 +9,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /* * The linker passes in the symbol _max_align, which is the alignment * that we must preserve, in bytes. diff --git a/src/arch/i386/core/setjmp.S b/src/arch/i386/core/setjmp.S index 59a1b7cbd..03727148c 100644 --- a/src/arch/i386/core/setjmp.S +++ b/src/arch/i386/core/setjmp.S @@ -1,5 +1,7 @@ /* setjmp and longjmp. Use of these functions is deprecated. */ +FILE_LICENCE ( GPL2_OR_LATER ) + .text .arch i386 .code32 diff --git a/src/arch/i386/core/stack.S b/src/arch/i386/core/stack.S index da66d2395..737ec0eed 100644 --- a/src/arch/i386/core/stack.S +++ b/src/arch/i386/core/stack.S @@ -1,3 +1,5 @@ +FILE_LICENCE ( GPL2_OR_LATER ) + .arch i386 /**************************************************************************** diff --git a/src/arch/i386/core/stack16.S b/src/arch/i386/core/stack16.S index d1251f06b..523f0288b 100644 --- a/src/arch/i386/core/stack16.S +++ b/src/arch/i386/core/stack16.S @@ -1,3 +1,5 @@ +FILE_LICENCE ( GPL2_OR_LATER ) + .arch i386 /**************************************************************************** diff --git a/src/arch/i386/core/timer2.c b/src/arch/i386/core/timer2.c index bb589ecc2..6e76b2eb8 100644 --- a/src/arch/i386/core/timer2.c +++ b/src/arch/i386/core/timer2.c @@ -11,6 +11,8 @@ * your option) any later version. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <gpxe/timer2.h> #include <gpxe/io.h> diff --git a/src/arch/i386/core/virtaddr.S b/src/arch/i386/core/virtaddr.S index cf6da4f66..aae1e1edd 100644 --- a/src/arch/i386/core/virtaddr.S +++ b/src/arch/i386/core/virtaddr.S @@ -4,6 +4,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ) + #include "librm.h" .arch i386 diff --git a/src/arch/i386/core/x86_io.c b/src/arch/i386/core/x86_io.c index 424a96cc8..d2c363b9e 100644 --- a/src/arch/i386/core/x86_io.c +++ b/src/arch/i386/core/x86_io.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/io.h> #include <gpxe/x86_io.h> diff --git a/src/arch/i386/drivers/net/undi.c b/src/arch/i386/drivers/net/undi.c index 8434f89d6..c6e253c06 100644 --- a/src/arch/i386/drivers/net/undi.c +++ b/src/arch/i386/drivers/net/undi.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/arch/i386/drivers/net/undiisr.S b/src/arch/i386/drivers/net/undiisr.S index 2b31b4149..2428d1f5d 100644 --- a/src/arch/i386/drivers/net/undiisr.S +++ b/src/arch/i386/drivers/net/undiisr.S @@ -1,3 +1,5 @@ +FILE_LICENCE ( GPL2_OR_LATER ) + #define PXENV_UNDI_ISR 0x0014 #define PXENV_UNDI_ISR_IN_START 1 #define PXENV_UNDI_ISR_OUT_OURS 0 diff --git a/src/arch/i386/drivers/net/undiload.c b/src/arch/i386/drivers/net/undiload.c index 6f34404bd..1d4e88d7f 100644 --- a/src/arch/i386/drivers/net/undiload.c +++ b/src/arch/i386/drivers/net/undiload.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 <string.h> diff --git a/src/arch/i386/drivers/net/undinet.c b/src/arch/i386/drivers/net/undinet.c index 708fc2748..79ac01bbb 100644 --- a/src/arch/i386/drivers/net/undinet.c +++ b/src/arch/i386/drivers/net/undinet.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <pxe.h> #include <realmode.h> diff --git a/src/arch/i386/drivers/net/undionly.c b/src/arch/i386/drivers/net/undionly.c index 4cdce6771..7dfb5d153 100644 --- a/src/arch/i386/drivers/net/undionly.c +++ b/src/arch/i386/drivers/net/undionly.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 <string.h> diff --git a/src/arch/i386/drivers/net/undipreload.c b/src/arch/i386/drivers/net/undipreload.c index e29d150a5..a4b2f4ac7 100644 --- a/src/arch/i386/drivers/net/undipreload.c +++ b/src/arch/i386/drivers/net/undipreload.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <realmode.h> #include <undipreload.h> diff --git a/src/arch/i386/drivers/net/undirom.c b/src/arch/i386/drivers/net/undirom.c index e5782781c..2463d9698 100644 --- a/src/arch/i386/drivers/net/undirom.c +++ b/src/arch/i386/drivers/net/undirom.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 <string.h> diff --git a/src/arch/i386/firmware/pcbios/basemem.c b/src/arch/i386/firmware/pcbios/basemem.c index b126d2a70..1ba7d1f6f 100644 --- a/src/arch/i386/firmware/pcbios/basemem.c +++ b/src/arch/i386/firmware/pcbios/basemem.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <realmode.h> #include <bios.h> diff --git a/src/arch/i386/firmware/pcbios/bios_console.c b/src/arch/i386/firmware/pcbios/bios_console.c index 913637723..1d18e54c7 100644 --- a/src/arch/i386/firmware/pcbios/bios_console.c +++ b/src/arch/i386/firmware/pcbios/bios_console.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <assert.h> #include <realmode.h> #include <console.h> diff --git a/src/arch/i386/firmware/pcbios/e820mangler.S b/src/arch/i386/firmware/pcbios/e820mangler.S index decb08356..32be9ee5e 100644 --- a/src/arch/i386/firmware/pcbios/e820mangler.S +++ b/src/arch/i386/firmware/pcbios/e820mangler.S @@ -15,7 +15,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ - + +FILE_LICENCE ( GPL2_OR_LATER ) + .text .arch i386 .code16 diff --git a/src/arch/i386/firmware/pcbios/fakee820.c b/src/arch/i386/firmware/pcbios/fakee820.c index 552bf41d2..ea116fe50 100644 --- a/src/arch/i386/firmware/pcbios/fakee820.c +++ b/src/arch/i386/firmware/pcbios/fakee820.c @@ -15,6 +15,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <realmode.h> #include <biosint.h> diff --git a/src/arch/i386/firmware/pcbios/gateA20.c b/src/arch/i386/firmware/pcbios/gateA20.c index 34e3ac52c..1a71472dc 100644 --- a/src/arch/i386/firmware/pcbios/gateA20.c +++ b/src/arch/i386/firmware/pcbios/gateA20.c @@ -1,3 +1,5 @@ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdio.h> #include <realmode.h> #include <bios.h> diff --git a/src/arch/i386/firmware/pcbios/hidemem.c b/src/arch/i386/firmware/pcbios/hidemem.c index 620b62e0b..17082c35e 100644 --- a/src/arch/i386/firmware/pcbios/hidemem.c +++ b/src/arch/i386/firmware/pcbios/hidemem.c @@ -15,6 +15,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <assert.h> #include <realmode.h> #include <biosint.h> diff --git a/src/arch/i386/firmware/pcbios/memmap.c b/src/arch/i386/firmware/pcbios/memmap.c index ff387d93f..8a30dbae7 100644 --- a/src/arch/i386/firmware/pcbios/memmap.c +++ b/src/arch/i386/firmware/pcbios/memmap.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <errno.h> #include <realmode.h> diff --git a/src/arch/i386/firmware/pcbios/pnpbios.c b/src/arch/i386/firmware/pcbios/pnpbios.c index 420d2ae8c..c572914f2 100644 --- a/src/arch/i386/firmware/pcbios/pnpbios.c +++ b/src/arch/i386/firmware/pcbios/pnpbios.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <string.h> #include <errno.h> diff --git a/src/arch/i386/image/bootsector.c b/src/arch/i386/image/bootsector.c index 0f297a26a..f96cf201e 100644 --- a/src/arch/i386/image/bootsector.c +++ b/src/arch/i386/image/bootsector.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/arch/i386/image/bzimage.c b/src/arch/i386/image/bzimage.c index 972016abf..194509905 100644 --- a/src/arch/i386/image/bzimage.c +++ b/src/arch/i386/image/bzimage.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/arch/i386/image/com32.c b/src/arch/i386/image/com32.c index d1b9a59fa..6ab347c15 100644 --- a/src/arch/i386/image/com32.c +++ b/src/arch/i386/image/com32.c @@ -23,6 +23,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/src/arch/i386/image/comboot.c b/src/arch/i386/image/comboot.c index 40e321858..a00b2b954 100644 --- a/src/arch/i386/image/comboot.c +++ b/src/arch/i386/image/comboot.c @@ -23,6 +23,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/src/arch/i386/image/elfboot.c b/src/arch/i386/image/elfboot.c index c8daf72bb..a41040e8c 100644 --- a/src/arch/i386/image/elfboot.c +++ b/src/arch/i386/image/elfboot.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <errno.h> #include <elf.h> #include <gpxe/image.h> diff --git a/src/arch/i386/image/eltorito.c b/src/arch/i386/image/eltorito.c index 9d573106d..53eb2c029 100644 --- a/src/arch/i386/image/eltorito.c +++ b/src/arch/i386/image/eltorito.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/arch/i386/image/multiboot.c b/src/arch/i386/image/multiboot.c index 1edf6af7b..1690b1c44 100644 --- a/src/arch/i386/image/multiboot.c +++ b/src/arch/i386/image/multiboot.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/arch/i386/image/pxe_image.c b/src/arch/i386/image/pxe_image.c index 90550d83c..68f8d4bf4 100644 --- a/src/arch/i386/image/pxe_image.c +++ b/src/arch/i386/image/pxe_image.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/arch/i386/include/basemem.h b/src/arch/i386/include/basemem.h index cd5668e01..c477c7fe2 100644 --- a/src/arch/i386/include/basemem.h +++ b/src/arch/i386/include/basemem.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <realmode.h> #include <bios.h> diff --git a/src/arch/i386/include/basemem_packet.h b/src/arch/i386/include/basemem_packet.h index e4d4f49cf..3cb477671 100644 --- a/src/arch/i386/include/basemem_packet.h +++ b/src/arch/i386/include/basemem_packet.h @@ -1,6 +1,8 @@ #ifndef BASEMEM_PACKET_H #define BASEMEM_PACKET_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <realmode.h> /** Maximum length of base memory packet buffer */ diff --git a/src/arch/i386/include/bios.h b/src/arch/i386/include/bios.h index 979a092c9..70bb73dac 100644 --- a/src/arch/i386/include/bios.h +++ b/src/arch/i386/include/bios.h @@ -1,6 +1,8 @@ #ifndef BIOS_H #define BIOS_H +FILE_LICENCE ( GPL2_OR_LATER ); + #define BDA_SEG 0x0040 #define BDA_FBMS 0x0013 #define BDA_NUM_DRIVES 0x0075 diff --git a/src/arch/i386/include/biosint.h b/src/arch/i386/include/biosint.h index d365cf01f..ab466af3c 100644 --- a/src/arch/i386/include/biosint.h +++ b/src/arch/i386/include/biosint.h @@ -6,6 +6,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <realmode.h> struct segoff; diff --git a/src/arch/i386/include/bits/byteswap.h b/src/arch/i386/include/bits/byteswap.h index 98418c29d..ddbd40edb 100644 --- a/src/arch/i386/include/bits/byteswap.h +++ b/src/arch/i386/include/bits/byteswap.h @@ -1,6 +1,8 @@ #ifndef ETHERBOOT_BITS_BYTESWAP_H #define ETHERBOOT_BITS_BYTESWAP_H +FILE_LICENCE ( GPL2_OR_LATER ); + static inline __attribute__ ((always_inline, const)) uint16_t __bswap_variable_16(uint16_t x) { diff --git a/src/arch/i386/include/bits/compiler.h b/src/arch/i386/include/bits/compiler.h index 119a9a21d..000db0c14 100644 --- a/src/arch/i386/include/bits/compiler.h +++ b/src/arch/i386/include/bits/compiler.h @@ -1,6 +1,8 @@ #ifndef _BITS_COMPILER_H #define _BITS_COMPILER_H +FILE_LICENCE ( GPL2_OR_LATER ); + #ifndef ASSEMBLY /** Declare a function with standard calling conventions */ diff --git a/src/arch/i386/include/bits/endian.h b/src/arch/i386/include/bits/endian.h index 413e702db..841885424 100644 --- a/src/arch/i386/include/bits/endian.h +++ b/src/arch/i386/include/bits/endian.h @@ -1,6 +1,8 @@ #ifndef ETHERBOOT_BITS_ENDIAN_H #define ETHERBOOT_BITS_ENDIAN_H +FILE_LICENCE ( GPL2_OR_LATER ); + #define __BYTE_ORDER __LITTLE_ENDIAN #endif /* ETHERBOOT_BITS_ENDIAN_H */ diff --git a/src/arch/i386/include/bits/errfile.h b/src/arch/i386/include/bits/errfile.h index 5ea8a3186..fa3ff0f3e 100644 --- a/src/arch/i386/include/bits/errfile.h +++ b/src/arch/i386/include/bits/errfile.h @@ -1,6 +1,8 @@ #ifndef _BITS_ERRFILE_H #define _BITS_ERRFILE_H +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @addtogroup errfile Error file identifiers * @{ diff --git a/src/arch/i386/include/bits/io.h b/src/arch/i386/include/bits/io.h index dd0ee444f..eded9778b 100644 --- a/src/arch/i386/include/bits/io.h +++ b/src/arch/i386/include/bits/io.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/x86_io.h> #endif /* _BITS_IO_H */ diff --git a/src/arch/i386/include/bits/nap.h b/src/arch/i386/include/bits/nap.h index f8ba7a7cb..1354f6bbe 100644 --- a/src/arch/i386/include/bits/nap.h +++ b/src/arch/i386/include/bits/nap.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/bios_nap.h> #include <gpxe/efi/efix86_nap.h> diff --git a/src/arch/i386/include/bits/smbios.h b/src/arch/i386/include/bits/smbios.h index 647ea19ef..a68413aa1 100644 --- a/src/arch/i386/include/bits/smbios.h +++ b/src/arch/i386/include/bits/smbios.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/bios_smbios.h> #endif /* _BITS_SMBIOS_H */ diff --git a/src/arch/i386/include/bits/stdint.h b/src/arch/i386/include/bits/stdint.h index 9eb72e9c4..8edf13192 100644 --- a/src/arch/i386/include/bits/stdint.h +++ b/src/arch/i386/include/bits/stdint.h @@ -1,6 +1,8 @@ #ifndef _BITS_STDINT_H #define _BITS_STDINT_H +FILE_LICENCE ( GPL2_OR_LATER ); + typedef __SIZE_TYPE__ size_t; typedef signed long ssize_t; typedef signed long off_t; diff --git a/src/arch/i386/include/bits/timer.h b/src/arch/i386/include/bits/timer.h index 99666d840..32e6bd47c 100644 --- a/src/arch/i386/include/bits/timer.h +++ b/src/arch/i386/include/bits/timer.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/bios_timer.h> #include <gpxe/rdtsc_timer.h> diff --git a/src/arch/i386/include/bits/uaccess.h b/src/arch/i386/include/bits/uaccess.h index 0ecc50285..2bb52e021 100644 --- a/src/arch/i386/include/bits/uaccess.h +++ b/src/arch/i386/include/bits/uaccess.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <librm.h> #endif /* _BITS_UACCESS_H */ diff --git a/src/arch/i386/include/bits/umalloc.h b/src/arch/i386/include/bits/umalloc.h index dcbd0a6b3..17ba2cb26 100644 --- a/src/arch/i386/include/bits/umalloc.h +++ b/src/arch/i386/include/bits/umalloc.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/memtop_umalloc.h> #endif /* _BITS_UMALLOC_H */ diff --git a/src/arch/i386/include/bootsector.h b/src/arch/i386/include/bootsector.h index e90710522..8730fbfcc 100644 --- a/src/arch/i386/include/bootsector.h +++ b/src/arch/i386/include/bootsector.h @@ -6,6 +6,8 @@ * x86 bootsector image format */ +FILE_LICENCE ( GPL2_OR_LATER ); + extern int call_bootsector ( unsigned int segment, unsigned int offset, unsigned int drive ); diff --git a/src/arch/i386/include/bzimage.h b/src/arch/i386/include/bzimage.h index 99fa09635..42b31fe46 100644 --- a/src/arch/i386/include/bzimage.h +++ b/src/arch/i386/include/bzimage.h @@ -1,6 +1,8 @@ #ifndef _BZIMAGE_H #define _BZIMAGE_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> /** diff --git a/src/arch/i386/include/comboot.h b/src/arch/i386/include/comboot.h index 56661a804..1232f0a74 100644 --- a/src/arch/i386/include/comboot.h +++ b/src/arch/i386/include/comboot.h @@ -7,6 +7,8 @@ * SYSLINUX COMBOOT */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <setjmp.h> #include <gpxe/in.h> diff --git a/src/arch/i386/include/fakee820.h b/src/arch/i386/include/fakee820.h index f1fe8aff2..9d00fb670 100644 --- a/src/arch/i386/include/fakee820.h +++ b/src/arch/i386/include/fakee820.h @@ -1,6 +1,8 @@ #ifndef _FAKEE820_H #define _FAKEE820_H +FILE_LICENCE ( GPL2_OR_LATER ); + extern void fake_e820 ( void ); extern void unfake_e820 ( void ); diff --git a/src/arch/i386/include/gpxe/abft.h b/src/arch/i386/include/gpxe/abft.h index 1c651ef11..9065e61ac 100644 --- a/src/arch/i386/include/gpxe/abft.h +++ b/src/arch/i386/include/gpxe/abft.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/acpi.h> #include <gpxe/if_ether.h> diff --git a/src/arch/i386/include/gpxe/bios_nap.h b/src/arch/i386/include/gpxe/bios_nap.h index f1c721e9d..c32429b97 100644 --- a/src/arch/i386/include/gpxe/bios_nap.h +++ b/src/arch/i386/include/gpxe/bios_nap.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef NAP_PCBIOS #define NAP_PREFIX_pcbios #else diff --git a/src/arch/i386/include/gpxe/bios_smbios.h b/src/arch/i386/include/gpxe/bios_smbios.h index 0a6f277a6..83726b119 100644 --- a/src/arch/i386/include/gpxe/bios_smbios.h +++ b/src/arch/i386/include/gpxe/bios_smbios.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef SMBIOS_PCBIOS #define SMBIOS_PREFIX_pcbios #else diff --git a/src/arch/i386/include/gpxe/bios_timer.h b/src/arch/i386/include/gpxe/bios_timer.h index 7e3caa3c6..ed9df5225 100644 --- a/src/arch/i386/include/gpxe/bios_timer.h +++ b/src/arch/i386/include/gpxe/bios_timer.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef TIMER_PCBIOS #define TIMER_PREFIX_pcbios #else diff --git a/src/arch/i386/include/gpxe/ibft.h b/src/arch/i386/include/gpxe/ibft.h index 5eef547b7..c41e2e401 100644 --- a/src/arch/i386/include/gpxe/ibft.h +++ b/src/arch/i386/include/gpxe/ibft.h @@ -28,6 +28,8 @@ * */ +FILE_LICENCE ( BSD2 ); + /** @file * * iSCSI boot firmware table diff --git a/src/arch/i386/include/gpxe/memtop_umalloc.h b/src/arch/i386/include/gpxe/memtop_umalloc.h index a3cd2c01a..eaf7025b7 100644 --- a/src/arch/i386/include/gpxe/memtop_umalloc.h +++ b/src/arch/i386/include/gpxe/memtop_umalloc.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef UMALLOC_MEMTOP #define UMALLOC_PREFIX_memtop #else diff --git a/src/arch/i386/include/gpxe/rdtsc_timer.h b/src/arch/i386/include/gpxe/rdtsc_timer.h index 0e03d707e..67ba22f00 100644 --- a/src/arch/i386/include/gpxe/rdtsc_timer.h +++ b/src/arch/i386/include/gpxe/rdtsc_timer.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef TIMER_RDTSC #define TIMER_PREFIX_rdtsc #else diff --git a/src/arch/i386/include/gpxe/timer2.h b/src/arch/i386/include/gpxe/timer2.h index 59705fa26..8f1195156 100644 --- a/src/arch/i386/include/gpxe/timer2.h +++ b/src/arch/i386/include/gpxe/timer2.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + extern void timer2_udelay ( unsigned long usecs ); #endif /* _GPXE_TIMER2_H */ diff --git a/src/arch/i386/include/gpxe/x86_io.h b/src/arch/i386/include/gpxe/x86_io.h index b1ae3bac3..beb5b22a6 100644 --- a/src/arch/i386/include/gpxe/x86_io.h +++ b/src/arch/i386/include/gpxe/x86_io.h @@ -15,6 +15,8 @@ * into a machine with such an old CPU anyway. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef IOAPI_X86 #define IOAPI_PREFIX_x86 #else diff --git a/src/arch/i386/include/int13.h b/src/arch/i386/include/int13.h index bf6d03187..e1884d940 100644 --- a/src/arch/i386/include/int13.h +++ b/src/arch/i386/include/int13.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/list.h> #include <realmode.h> diff --git a/src/arch/i386/include/librm.h b/src/arch/i386/include/librm.h index 9eb2767a2..f193f5e37 100755 --- a/src/arch/i386/include/librm.h +++ b/src/arch/i386/include/librm.h @@ -1,6 +1,8 @@ #ifndef LIBRM_H #define LIBRM_H +FILE_LICENCE ( GPL2_OR_LATER ); + /* Segment selectors as used in our protected-mode GDTs. * * Don't change these unless you really know what you're doing. diff --git a/src/arch/i386/include/limits.h b/src/arch/i386/include/limits.h index f13db2673..031b6c57a 100644 --- a/src/arch/i386/include/limits.h +++ b/src/arch/i386/include/limits.h @@ -1,6 +1,8 @@ #ifndef LIMITS_H #define LIMITS_H 1 +FILE_LICENCE ( GPL2_OR_LATER ); + /* Number of bits in a `char' */ #define CHAR_BIT 8 diff --git a/src/arch/i386/include/memsizes.h b/src/arch/i386/include/memsizes.h index 6222fd66b..7b217494a 100644 --- a/src/arch/i386/include/memsizes.h +++ b/src/arch/i386/include/memsizes.h @@ -1,6 +1,8 @@ #ifndef _MEMSIZES_H #define _MEMSIZES_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <basemem.h> /** diff --git a/src/arch/i386/include/multiboot.h b/src/arch/i386/include/multiboot.h index 4ca7089ba..44614c73a 100644 --- a/src/arch/i386/include/multiboot.h +++ b/src/arch/i386/include/multiboot.h @@ -8,6 +8,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> /** The magic number for the Multiboot header */ diff --git a/src/arch/i386/include/pic8259.h b/src/arch/i386/include/pic8259.h index 0c501a9c7..f8e20c4c4 100644 --- a/src/arch/i386/include/pic8259.h +++ b/src/arch/i386/include/pic8259.h @@ -4,6 +4,8 @@ * Initially written by Michael Brown (mcb30). */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifndef PIC8259_H #define PIC8259_H diff --git a/src/arch/i386/include/pnpbios.h b/src/arch/i386/include/pnpbios.h index ab31c6993..4c20e73ed 100644 --- a/src/arch/i386/include/pnpbios.h +++ b/src/arch/i386/include/pnpbios.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /* BIOS segment address */ #define BIOS_SEG 0xf000 diff --git a/src/arch/i386/include/pxe.h b/src/arch/i386/include/pxe.h index 6d332ac7d..b0cabef0d 100644 --- a/src/arch/i386/include/pxe.h +++ b/src/arch/i386/include/pxe.h @@ -1,6 +1,8 @@ #ifndef PXE_H #define PXE_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include "pxe_types.h" #include "pxe_api.h" #include <gpxe/device.h> diff --git a/src/arch/i386/include/pxe_api.h b/src/arch/i386/include/pxe_api.h index b3d4bca87..b72c1ec2b 100644 --- a/src/arch/i386/include/pxe_api.h +++ b/src/arch/i386/include/pxe_api.h @@ -23,6 +23,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include "pxe_types.h" /** @addtogroup pxe Preboot eXecution Environment (PXE) API diff --git a/src/arch/i386/include/pxe_call.h b/src/arch/i386/include/pxe_call.h index 2f3ea15ab..f60686cae 100644 --- a/src/arch/i386/include/pxe_call.h +++ b/src/arch/i386/include/pxe_call.h @@ -6,6 +6,8 @@ * PXE API entry point */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <pxe_api.h> #include <realmode.h> diff --git a/src/arch/i386/include/pxe_types.h b/src/arch/i386/include/pxe_types.h index dd9092ef4..a6516d25f 100644 --- a/src/arch/i386/include/pxe_types.h +++ b/src/arch/i386/include/pxe_types.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <errno.h> /* PXE status codes */ diff --git a/src/arch/i386/include/realmode.h b/src/arch/i386/include/realmode.h index 26e6dd774..a0a830b97 100644 --- a/src/arch/i386/include/realmode.h +++ b/src/arch/i386/include/realmode.h @@ -10,6 +10,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /* * Declaration of variables in .data16 * diff --git a/src/arch/i386/include/registers.h b/src/arch/i386/include/registers.h index e68fa85ad..2839e2bdd 100644 --- a/src/arch/i386/include/registers.h +++ b/src/arch/i386/include/registers.h @@ -10,6 +10,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> /** diff --git a/src/arch/i386/include/setjmp.h b/src/arch/i386/include/setjmp.h index c18d03e1d..5d3c11b69 100644 --- a/src/arch/i386/include/setjmp.h +++ b/src/arch/i386/include/setjmp.h @@ -1,6 +1,8 @@ #ifndef ETHERBOOT_SETJMP_H #define ETHERBOOT_SETJMP_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <realmode.h> diff --git a/src/arch/i386/include/undi.h b/src/arch/i386/include/undi.h index c6253d0ae..de6925b67 100644 --- a/src/arch/i386/include/undi.h +++ b/src/arch/i386/include/undi.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifndef ASSEMBLY #include <gpxe/device.h> diff --git a/src/arch/i386/include/undiload.h b/src/arch/i386/include/undiload.h index bfc11874d..426830e8d 100644 --- a/src/arch/i386/include/undiload.h +++ b/src/arch/i386/include/undiload.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct undi_device; struct undi_rom; diff --git a/src/arch/i386/include/undinet.h b/src/arch/i386/include/undinet.h index 1a4a385e9..c3c17c11a 100644 --- a/src/arch/i386/include/undinet.h +++ b/src/arch/i386/include/undinet.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct undi_device; extern int undinet_probe ( struct undi_device *undi ); diff --git a/src/arch/i386/include/undipreload.h b/src/arch/i386/include/undipreload.h index d9bc8cb9b..de9b8fb52 100644 --- a/src/arch/i386/include/undipreload.h +++ b/src/arch/i386/include/undipreload.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <realmode.h> #include <undi.h> diff --git a/src/arch/i386/include/undirom.h b/src/arch/i386/include/undirom.h index a26360072..86d7077b5 100644 --- a/src/arch/i386/include/undirom.h +++ b/src/arch/i386/include/undirom.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <pxe_types.h> /** An UNDI PCI device ID */ diff --git a/src/arch/i386/interface/pcbios/abft.c b/src/arch/i386/interface/pcbios/abft.c index af28bbcfb..869417285 100644 --- a/src/arch/i386/interface/pcbios/abft.c +++ b/src/arch/i386/interface/pcbios/abft.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <realmode.h> #include <gpxe/aoe.h> #include <gpxe/netdevice.h> diff --git a/src/arch/i386/interface/pcbios/aoeboot.c b/src/arch/i386/interface/pcbios/aoeboot.c index 6e1e51cbb..46484c005 100644 --- a/src/arch/i386/interface/pcbios/aoeboot.c +++ b/src/arch/i386/interface/pcbios/aoeboot.c @@ -10,6 +10,8 @@ #include <gpxe/abft.h> #include <int13.h> +FILE_LICENCE ( GPL2_OR_LATER ); + static int aoeboot ( const char *root_path ) { struct ata_device ata; struct int13_drive drive; diff --git a/src/arch/i386/interface/pcbios/bios_nap.c b/src/arch/i386/interface/pcbios/bios_nap.c index 2f4a05131..e38cac7a8 100644 --- a/src/arch/i386/interface/pcbios/bios_nap.c +++ b/src/arch/i386/interface/pcbios/bios_nap.c @@ -1,6 +1,8 @@ #include <gpxe/nap.h> #include <realmode.h> +FILE_LICENCE ( GPL2_OR_LATER ); + /** * Save power by halting the CPU until the next interrupt * diff --git a/src/arch/i386/interface/pcbios/bios_smbios.c b/src/arch/i386/interface/pcbios/bios_smbios.c index efaaef0d7..094214bdc 100644 --- a/src/arch/i386/interface/pcbios/bios_smbios.c +++ b/src/arch/i386/interface/pcbios/bios_smbios.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <string.h> #include <errno.h> diff --git a/src/arch/i386/interface/pcbios/bios_timer.c b/src/arch/i386/interface/pcbios/bios_timer.c index 0b475ea37..8ecf7c12e 100644 --- a/src/arch/i386/interface/pcbios/bios_timer.c +++ b/src/arch/i386/interface/pcbios/bios_timer.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** @file * * BIOS timer diff --git a/src/arch/i386/interface/pcbios/biosint.c b/src/arch/i386/interface/pcbios/biosint.c index 1306f9186..a193defa3 100644 --- a/src/arch/i386/interface/pcbios/biosint.c +++ b/src/arch/i386/interface/pcbios/biosint.c @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * Hook INT vector * diff --git a/src/arch/i386/interface/pcbios/ibft.c b/src/arch/i386/interface/pcbios/ibft.c index 43d1f85f9..718b759f4 100644 --- a/src/arch/i386/interface/pcbios/ibft.c +++ b/src/arch/i386/interface/pcbios/ibft.c @@ -25,6 +25,8 @@ * */ +FILE_LICENCE ( BSD2 ); + #include <stdint.h> #include <stdio.h> #include <string.h> diff --git a/src/arch/i386/interface/pcbios/int13.c b/src/arch/i386/interface/pcbios/int13.c index 04f9cdf5f..733060f25 100644 --- a/src/arch/i386/interface/pcbios/int13.c +++ b/src/arch/i386/interface/pcbios/int13.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <limits.h> #include <byteswap.h> diff --git a/src/arch/i386/interface/pcbios/iscsiboot.c b/src/arch/i386/interface/pcbios/iscsiboot.c index 02aec4bab..f200c16fd 100644 --- a/src/arch/i386/interface/pcbios/iscsiboot.c +++ b/src/arch/i386/interface/pcbios/iscsiboot.c @@ -13,6 +13,8 @@ #include <int13.h> #include <usr/autoboot.h> +FILE_LICENCE ( GPL2_OR_LATER ); + struct setting keep_san_setting __setting = { .name = "keep-san", .description = "Preserve SAN connection", diff --git a/src/arch/i386/interface/pcbios/memtop_umalloc.c b/src/arch/i386/interface/pcbios/memtop_umalloc.c index 744d8e305..0645fe63d 100644 --- a/src/arch/i386/interface/pcbios/memtop_umalloc.c +++ b/src/arch/i386/interface/pcbios/memtop_umalloc.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/arch/i386/interface/pcbios/pcibios.c b/src/arch/i386/interface/pcbios/pcibios.c index 81b4fd3c0..f2c3880c3 100644 --- a/src/arch/i386/interface/pcbios/pcibios.c +++ b/src/arch/i386/interface/pcbios/pcibios.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/pci.h> #include <realmode.h> diff --git a/src/arch/i386/interface/pxe/pxe_call.c b/src/arch/i386/interface/pxe/pxe_call.c index 06dee25c4..925dd335e 100644 --- a/src/arch/i386/interface/pxe/pxe_call.c +++ b/src/arch/i386/interface/pxe/pxe_call.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/uaccess.h> #include <registers.h> #include <biosint.h> diff --git a/src/arch/i386/interface/pxe/pxe_entry.S b/src/arch/i386/interface/pxe/pxe_entry.S index 0e8c8e2d6..0d3a57cd3 100644 --- a/src/arch/i386/interface/pxe/pxe_entry.S +++ b/src/arch/i386/interface/pxe/pxe_entry.S @@ -17,6 +17,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ) + .arch i386 /**************************************************************************** diff --git a/src/arch/i386/interface/pxe/pxe_file.c b/src/arch/i386/interface/pxe/pxe_file.c index 41674588c..552a1a128 100644 --- a/src/arch/i386/interface/pxe/pxe_file.c +++ b/src/arch/i386/interface/pxe/pxe_file.c @@ -31,6 +31,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + FEATURE ( FEATURE_MISC, "PXEXT", DHCP_EB_FEATURE_PXE_EXT, 2 ); /** diff --git a/src/arch/i386/interface/pxe/pxe_loader.c b/src/arch/i386/interface/pxe/pxe_loader.c index d228a36d0..bebae0288 100644 --- a/src/arch/i386/interface/pxe/pxe_loader.c +++ b/src/arch/i386/interface/pxe/pxe_loader.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/init.h> #include "pxe.h" #include "pxe_call.h" diff --git a/src/arch/i386/interface/pxe/pxe_preboot.c b/src/arch/i386/interface/pxe/pxe_preboot.c index 193abc3dd..5ea06e928 100644 --- a/src/arch/i386/interface/pxe/pxe_preboot.c +++ b/src/arch/i386/interface/pxe/pxe_preboot.c @@ -23,6 +23,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <string.h> #include <stdlib.h> diff --git a/src/arch/i386/interface/pxe/pxe_tftp.c b/src/arch/i386/interface/pxe/pxe_tftp.c index cc7f830a3..c1d831bda 100644 --- a/src/arch/i386/interface/pxe/pxe_tftp.c +++ b/src/arch/i386/interface/pxe/pxe_tftp.c @@ -22,6 +22,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdlib.h> #include <stdio.h> #include <errno.h> diff --git a/src/arch/i386/interface/pxe/pxe_udp.c b/src/arch/i386/interface/pxe/pxe_udp.c index 033b1ad97..f47022012 100644 --- a/src/arch/i386/interface/pxe/pxe_udp.c +++ b/src/arch/i386/interface/pxe/pxe_udp.c @@ -30,6 +30,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** A PXE UDP connection */ struct pxe_udp_connection { /** Data transfer interface to UDP stack */ diff --git a/src/arch/i386/interface/pxe/pxe_undi.c b/src/arch/i386/interface/pxe/pxe_undi.c index 4e4a3da0c..fe124d639 100644 --- a/src/arch/i386/interface/pxe/pxe_undi.c +++ b/src/arch/i386/interface/pxe/pxe_undi.c @@ -22,6 +22,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stdio.h> #include <string.h> diff --git a/src/arch/i386/interface/syslinux/com32_call.c b/src/arch/i386/interface/syslinux/com32_call.c index 4a782dce6..d2c3f9188 100644 --- a/src/arch/i386/interface/syslinux/com32_call.c +++ b/src/arch/i386/interface/syslinux/com32_call.c @@ -21,6 +21,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <realmode.h> #include <comboot.h> diff --git a/src/arch/i386/interface/syslinux/com32_wrapper.S b/src/arch/i386/interface/syslinux/com32_wrapper.S index 08d7398ac..5c5bd1399 100644 --- a/src/arch/i386/interface/syslinux/com32_wrapper.S +++ b/src/arch/i386/interface/syslinux/com32_wrapper.S @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ) + .text .arch i386 .code32 diff --git a/src/arch/i386/interface/syslinux/comboot_call.c b/src/arch/i386/interface/syslinux/comboot_call.c index bf6c4c66b..a78af7290 100644 --- a/src/arch/i386/interface/syslinux/comboot_call.c +++ b/src/arch/i386/interface/syslinux/comboot_call.c @@ -21,6 +21,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <errno.h> #include <realmode.h> #include <biosint.h> diff --git a/src/arch/i386/interface/syslinux/comboot_resolv.c b/src/arch/i386/interface/syslinux/comboot_resolv.c index 41c3af7aa..30ac502e1 100644 --- a/src/arch/i386/interface/syslinux/comboot_resolv.c +++ b/src/arch/i386/interface/syslinux/comboot_resolv.c @@ -5,6 +5,8 @@ #include <gpxe/process.h> #include <gpxe/resolv.h> +FILE_LICENCE ( GPL2_OR_LATER ); + static int comboot_resolv_rc; static struct in_addr comboot_resolv_addr; diff --git a/src/arch/i386/prefix/bootpart.S b/src/arch/i386/prefix/bootpart.S index d60fe9bcb..968da1a38 100644 --- a/src/arch/i386/prefix/bootpart.S +++ b/src/arch/i386/prefix/bootpart.S @@ -1,3 +1,5 @@ +FILE_LICENCE ( GPL2_OR_LATER ) + #define BOOT_SEG 0x07c0 #define EXEC_SEG 0x0100 #define STACK_SEG 0x0200 diff --git a/src/arch/i386/prefix/dskprefix.S b/src/arch/i386/prefix/dskprefix.S index 0156812a5..2716a16be 100644 --- a/src/arch/i386/prefix/dskprefix.S +++ b/src/arch/i386/prefix/dskprefix.S @@ -16,6 +16,8 @@ * getting whole tracks at a time whenever possible. */ +FILE_LICENCE ( GPL2_ONLY ) + .equ BOOTSEG, 0x07C0 /* original address of boot-sector */ .equ SYSSEG, 0x1000 /* system loaded at SYSSEG<<4 */ diff --git a/src/arch/i386/prefix/hdprefix.S b/src/arch/i386/prefix/hdprefix.S index 086d7f454..a06f10c36 100644 --- a/src/arch/i386/prefix/hdprefix.S +++ b/src/arch/i386/prefix/hdprefix.S @@ -1,3 +1,5 @@ +FILE_LICENCE ( GPL2_OR_LATER ) + .text .arch i386 .section ".prefix", "awx", @progbits diff --git a/src/arch/i386/prefix/kkpxeprefix.S b/src/arch/i386/prefix/kkpxeprefix.S index e0bea0cdf..4d13f4049 100644 --- a/src/arch/i386/prefix/kkpxeprefix.S +++ b/src/arch/i386/prefix/kkpxeprefix.S @@ -3,6 +3,8 @@ ***************************************************************************** */ +FILE_LICENCE ( GPL2_OR_LATER ) + #define PXELOADER_KEEP_UNDI #define PXELOADER_KEEP_PXE #include "pxeprefix.S" diff --git a/src/arch/i386/prefix/kpxeprefix.S b/src/arch/i386/prefix/kpxeprefix.S index d708604bd..923facccd 100644 --- a/src/arch/i386/prefix/kpxeprefix.S +++ b/src/arch/i386/prefix/kpxeprefix.S @@ -3,5 +3,7 @@ ***************************************************************************** */ +FILE_LICENCE ( GPL2_OR_LATER ) + #define PXELOADER_KEEP_UNDI #include "pxeprefix.S" diff --git a/src/arch/i386/prefix/libprefix.S b/src/arch/i386/prefix/libprefix.S index 421891359..9e6ba6f07 100644 --- a/src/arch/i386/prefix/libprefix.S +++ b/src/arch/i386/prefix/libprefix.S @@ -17,6 +17,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ) + .arch i386 /** diff --git a/src/arch/i386/prefix/lkrnprefix.S b/src/arch/i386/prefix/lkrnprefix.S index 094263d28..02249f7a2 100644 --- a/src/arch/i386/prefix/lkrnprefix.S +++ b/src/arch/i386/prefix/lkrnprefix.S @@ -34,6 +34,8 @@ */ +FILE_LICENCE ( GPL_ANY ) + #define SETUPSECS 4 /* Minimal nr of setup-sectors */ #define PREFIXSIZE ((SETUPSECS+1)*512) #define PREFIXPGH (PREFIXSIZE / 16 ) diff --git a/src/arch/i386/prefix/pxeprefix.S b/src/arch/i386/prefix/pxeprefix.S index c6ae12c7e..b541e4bb5 100644 --- a/src/arch/i386/prefix/pxeprefix.S +++ b/src/arch/i386/prefix/pxeprefix.S @@ -1,3 +1,5 @@ +FILE_LICENCE ( GPL2_OR_LATER ) + #define PXENV_UNDI_SHUTDOWN 0x0005 #define PXENV_UNDI_GET_NIC_TYPE 0x0012 #define PXENV_UNDI_GET_IFACE_INFO 0x0013 diff --git a/src/arch/i386/prefix/unnrv2b.S b/src/arch/i386/prefix/unnrv2b.S index 70167a14a..f5724c134 100644 --- a/src/arch/i386/prefix/unnrv2b.S +++ b/src/arch/i386/prefix/unnrv2b.S @@ -20,6 +20,8 @@ * Michael Brown 9 Mar 2005 */ +FILE_LICENCE ( GPL2_OR_LATER ) + /**************************************************************************** * This file provides the decompress() and decompress16() functions * which can be called in order to decompress an image compressed with diff --git a/src/arch/i386/prefix/unnrv2b16.S b/src/arch/i386/prefix/unnrv2b16.S index da0e6ae82..b24c2846f 100644 --- a/src/arch/i386/prefix/unnrv2b16.S +++ b/src/arch/i386/prefix/unnrv2b16.S @@ -3,5 +3,7 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ) + #define CODE16 #include "unnrv2b.S" diff --git a/src/arch/i386/transitions/libkir.S b/src/arch/i386/transitions/libkir.S index 1023ddd0b..1176fcced 100644 --- a/src/arch/i386/transitions/libkir.S +++ b/src/arch/i386/transitions/libkir.S @@ -5,6 +5,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ) + /**************************************************************************** * This file defines libkir: an interface between external and * internal environments when -DKEEP_IT_REAL is used, so that both diff --git a/src/arch/i386/transitions/librm.S b/src/arch/i386/transitions/librm.S index 8cf1f7f5c..cb27ef355 100755 --- a/src/arch/i386/transitions/librm.S +++ b/src/arch/i386/transitions/librm.S @@ -5,6 +5,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ) + /* Drag in local definitions */ #include "librm.h" diff --git a/src/arch/i386/transitions/librm_mgmt.c b/src/arch/i386/transitions/librm_mgmt.c index 50569f8ee..f00be8117 100755 --- a/src/arch/i386/transitions/librm_mgmt.c +++ b/src/arch/i386/transitions/librm_mgmt.c @@ -5,6 +5,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <realmode.h> diff --git a/src/arch/x86/core/pcidirect.c b/src/arch/x86/core/pcidirect.c index db17215e4..2c61d9ca6 100644 --- a/src/arch/x86/core/pcidirect.c +++ b/src/arch/x86/core/pcidirect.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/io.h> #include <gpxe/pci.h> diff --git a/src/arch/x86/core/x86_string.c b/src/arch/x86/core/x86_string.c index c0224c7a9..5838ebace 100644 --- a/src/arch/x86/core/x86_string.c +++ b/src/arch/x86/core/x86_string.c @@ -22,6 +22,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> /** diff --git a/src/arch/x86/include/bits/pci_io.h b/src/arch/x86/include/bits/pci_io.h index 0fbb439db..f6efcdac2 100644 --- a/src/arch/x86/include/bits/pci_io.h +++ b/src/arch/x86/include/bits/pci_io.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/pcibios.h> #include <gpxe/pcidirect.h> diff --git a/src/arch/x86/include/bits/string.h b/src/arch/x86/include/bits/string.h index 42ddeddf1..a68868ac9 100644 --- a/src/arch/x86/include/bits/string.h +++ b/src/arch/x86/include/bits/string.h @@ -21,6 +21,8 @@ * consider these trivial functions to be PD. */ +FILE_LICENCE ( PUBLIC_DOMAIN ); + #define __HAVE_ARCH_MEMCPY extern void * __memcpy ( void *dest, const void *src, size_t len ); diff --git a/src/arch/x86/include/gpxe/efi/efix86_nap.h b/src/arch/x86/include/gpxe/efi/efix86_nap.h index 91424c547..833c922c3 100644 --- a/src/arch/x86/include/gpxe/efi/efix86_nap.h +++ b/src/arch/x86/include/gpxe/efi/efix86_nap.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef NAP_EFIX86 #define NAP_PREFIX_efix86 #else diff --git a/src/arch/x86/include/gpxe/pcibios.h b/src/arch/x86/include/gpxe/pcibios.h index b86f5abd4..93a6eb8a4 100644 --- a/src/arch/x86/include/gpxe/pcibios.h +++ b/src/arch/x86/include/gpxe/pcibios.h @@ -9,6 +9,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifdef PCIAPI_PCBIOS #define PCIAPI_PREFIX_pcbios #else diff --git a/src/arch/x86/include/gpxe/pcidirect.h b/src/arch/x86/include/gpxe/pcidirect.h index fe433c6f2..8b705fb26 100644 --- a/src/arch/x86/include/gpxe/pcidirect.h +++ b/src/arch/x86/include/gpxe/pcidirect.h @@ -1,6 +1,8 @@ #ifndef _PCIDIRECT_H #define _PCIDIRECT_H +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/io.h> diff --git a/src/arch/x86/interface/efi/efix86_nap.c b/src/arch/x86/interface/efi/efix86_nap.c index 45e99a685..89a4e3ba8 100644 --- a/src/arch/x86/interface/efi/efix86_nap.c +++ b/src/arch/x86/interface/efi/efix86_nap.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/nap.h> #include <gpxe/efi/efi.h> diff --git a/src/arch/x86/prefix/efidrvprefix.c b/src/arch/x86/prefix/efidrvprefix.c index 5f631588f..36d56508b 100644 --- a/src/arch/x86/prefix/efidrvprefix.c +++ b/src/arch/x86/prefix/efidrvprefix.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdlib.h> #include <gpxe/init.h> #include <gpxe/efi/efi.h> diff --git a/src/arch/x86/prefix/efiprefix.c b/src/arch/x86/prefix/efiprefix.c index b05b744d3..4cc9e04a0 100644 --- a/src/arch/x86/prefix/efiprefix.c +++ b/src/arch/x86/prefix/efiprefix.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdlib.h> #include <gpxe/efi/efi.h> diff --git a/src/config/console.h b/src/config/console.h index b4ea1dda6..be3242dd9 100644 --- a/src/config/console.h +++ b/src/config/console.h @@ -10,6 +10,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <config/defaults.h> //#define CONSOLE_PCBIOS /* Default BIOS console */ diff --git a/src/config/defaults.h b/src/config/defaults.h index 1f55ef3cc..389c0b07b 100644 --- a/src/config/defaults.h +++ b/src/config/defaults.h @@ -1,6 +1,8 @@ #ifndef CONFIG_DEFAULTS_H #define CONFIG_DEFAULTS_H +FILE_LICENCE ( GPL2_OR_LATER ); + #define CONFIG_DEFAULTS(_platform) <config/defaults/_platform.h> #include CONFIG_DEFAULTS(PLATFORM) diff --git a/src/config/defaults/pcbios.h b/src/config/defaults/pcbios.h index 4359e1a4c..f7b8a45cb 100644 --- a/src/config/defaults/pcbios.h +++ b/src/config/defaults/pcbios.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #define UACCESS_LIBRM #define IOAPI_X86 #define PCIAPI_PCBIOS diff --git a/src/config/general.h b/src/config/general.h index 6dffdd6b7..dfc87007c 100644 --- a/src/config/general.h +++ b/src/config/general.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <config/defaults.h> /* diff --git a/src/config/ioapi.h b/src/config/ioapi.h index 7726a0f01..8ddd557b9 100644 --- a/src/config/ioapi.h +++ b/src/config/ioapi.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <config/defaults.h> //#undef PCIAPI_PCBIOS /* Access via PCI BIOS */ diff --git a/src/config/nap.h b/src/config/nap.h index 8648d925e..1b981355a 100644 --- a/src/config/nap.h +++ b/src/config/nap.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <config/defaults.h> //#undef NAP_PCBIOS diff --git a/src/config/serial.h b/src/config/serial.h index 984a7a9c0..1d7f51ef5 100644 --- a/src/config/serial.h +++ b/src/config/serial.h @@ -11,6 +11,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #define COMCONSOLE 0x3f8 /* I/O port address */ /* Keep settings from a previous user of the serial port (e.g. lilo or diff --git a/src/config/timer.h b/src/config/timer.h index 7c3f3521d..cc6a93d18 100644 --- a/src/config/timer.h +++ b/src/config/timer.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <config/defaults.h> //#undef TIMER_PCBIOS diff --git a/src/config/umalloc.h b/src/config/umalloc.h index de4019e50..65febf1fd 100644 --- a/src/config/umalloc.h +++ b/src/config/umalloc.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <config/defaults.h> #endif /* CONFIG_UMALLOC_H */ diff --git a/src/core/acpi.c b/src/core/acpi.c index 94b7b2a18..b65f4d483 100644 --- a/src/core/acpi.c +++ b/src/core/acpi.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/acpi.h> /** @file diff --git a/src/core/ansiesc.c b/src/core/ansiesc.c index 6b820ada5..31306e2a8 100644 --- a/src/core/ansiesc.c +++ b/src/core/ansiesc.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/ansiesc.h> diff --git a/src/core/asprintf.c b/src/core/asprintf.c index 94d7e7c43..03cf45cfc 100644 --- a/src/core/asprintf.c +++ b/src/core/asprintf.c @@ -4,6 +4,8 @@ #include <stdio.h> #include <errno.h> +FILE_LICENCE ( GPL2_OR_LATER ); + /** * Write a formatted string to newly allocated memory. * diff --git a/src/core/base64.c b/src/core/base64.c index e54821e3e..5619ef7b1 100644 --- a/src/core/base64.c +++ b/src/core/base64.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <string.h> #include <assert.h> diff --git a/src/core/basename.c b/src/core/basename.c index 7340c0d55..a481c54f4 100644 --- a/src/core/basename.c +++ b/src/core/basename.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/core/bitmap.c b/src/core/bitmap.c index d02664719..bbe9cbaa1 100644 --- a/src/core/bitmap.c +++ b/src/core/bitmap.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <errno.h> #include <gpxe/bitmap.h> diff --git a/src/core/bitops.c b/src/core/bitops.c index 53abaaeac..1bca9e47b 100644 --- a/src/core/bitops.c +++ b/src/core/bitops.c @@ -1,5 +1,7 @@ #include <strings.h> +FILE_LICENCE ( GPL2_OR_LATER ); + int __flsl ( long x ) { unsigned long value = x; int ls = 0; diff --git a/src/core/config.c b/src/core/config.c index 0662a3a49..ecaf781fc 100644 --- a/src/core/config.c +++ b/src/core/config.c @@ -5,6 +5,8 @@ * your option) any later version. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <config/general.h> #include <config/console.h> diff --git a/src/core/console.c b/src/core/console.c index 1ea3dc13e..e22d26019 100644 --- a/src/core/console.c +++ b/src/core/console.c @@ -5,6 +5,8 @@ /** @file */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * Write a single character to each console device. * diff --git a/src/core/cpio.c b/src/core/cpio.c index 7d2e88286..b303fa35f 100644 --- a/src/core/cpio.c +++ b/src/core/cpio.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** @file * * CPIO archives diff --git a/src/core/cwuri.c b/src/core/cwuri.c index 81fd900e7..65e01b21e 100644 --- a/src/core/cwuri.c +++ b/src/core/cwuri.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <gpxe/uri.h> diff --git a/src/core/device.c b/src/core/device.c index 1f57e4c6f..96ccc9ff3 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <gpxe/list.h> #include <gpxe/tables.h> diff --git a/src/core/downloader.c b/src/core/downloader.c index 83027d388..5bde0a6be 100644 --- a/src/core/downloader.c +++ b/src/core/downloader.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdlib.h> #include <stdarg.h> #include <errno.h> diff --git a/src/core/exec.c b/src/core/exec.c index 181ca4c56..25c578d5c 100644 --- a/src/core/exec.c +++ b/src/core/exec.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <string.h> #include <stdlib.h> diff --git a/src/core/filter.c b/src/core/filter.c index f9ebe7cf1..a8bee7dc2 100644 --- a/src/core/filter.c +++ b/src/core/filter.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/xfer.h> #include <gpxe/filter.h> diff --git a/src/core/getkey.c b/src/core/getkey.c index 787c90276..dbd074ccf 100644 --- a/src/core/getkey.c +++ b/src/core/getkey.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <ctype.h> #include <console.h> #include <gpxe/process.h> diff --git a/src/core/getopt.c b/src/core/getopt.c index 6de412bb8..b67da0c13 100644 --- a/src/core/getopt.c +++ b/src/core/getopt.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <string.h> #include <stdio.h> diff --git a/src/core/image.c b/src/core/image.c index 0d188c308..24fe51ab9 100644 --- a/src/core/image.c +++ b/src/core/image.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <string.h> #include <stdlib.h> diff --git a/src/core/init.c b/src/core/init.c index e1c9dce0c..cd0f6dcc8 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/device.h> #include <gpxe/init.h> diff --git a/src/core/interface.c b/src/core/interface.c index 37aabfe0d..43d58ed20 100644 --- a/src/core/interface.c +++ b/src/core/interface.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/interface.h> /** @file diff --git a/src/core/iobuf.c b/src/core/iobuf.c index cc4aedeae..1ce7890e4 100644 --- a/src/core/iobuf.c +++ b/src/core/iobuf.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <errno.h> #include <gpxe/malloc.h> diff --git a/src/core/job.c b/src/core/job.c index 6c2faf30f..2a6a8a032 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <errno.h> #include <gpxe/job.h> diff --git a/src/core/linebuf.c b/src/core/linebuf.c index d02f37c34..221f4e1a6 100644 --- a/src/core/linebuf.c +++ b/src/core/linebuf.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/core/main.c b/src/core/main.c index 809d4dcf8..74452b788 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -14,6 +14,8 @@ Literature dealing with the network protocols: **************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdio.h> #include <gpxe/init.h> #include <gpxe/features.h> diff --git a/src/core/malloc.c b/src/core/malloc.c index db7f1bedf..8b0bc24d2 100644 --- a/src/core/malloc.c +++ b/src/core/malloc.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <stdint.h> #include <string.h> diff --git a/src/core/misc.c b/src/core/misc.c index 1f51272dc..5a82c85cc 100644 --- a/src/core/misc.c +++ b/src/core/misc.c @@ -2,6 +2,8 @@ MISC Support Routines **************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdlib.h> #include <byteswap.h> #include <gpxe/in.h> diff --git a/src/core/monojob.c b/src/core/monojob.c index 657bfd7ad..a24b559e1 100644 --- a/src/core/monojob.c +++ b/src/core/monojob.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <stdio.h> #include <errno.h> diff --git a/src/core/nvo.c b/src/core/nvo.c index e5c07d986..3dbf51d3f 100644 --- a/src/core/nvo.c +++ b/src/core/nvo.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 <string.h> diff --git a/src/core/open.c b/src/core/open.c index beb67a037..d5eb30cfa 100644 --- a/src/core/open.c +++ b/src/core/open.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdarg.h> #include <string.h> #include <errno.h> diff --git a/src/core/posix_io.c b/src/core/posix_io.c index 6f6d815ac..e6b1a0f69 100644 --- a/src/core/posix_io.c +++ b/src/core/posix_io.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdlib.h> #include <string.h> #include <errno.h> diff --git a/src/core/process.c b/src/core/process.c index dcae9017f..6dacd6652 100644 --- a/src/core/process.c +++ b/src/core/process.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/list.h> #include <gpxe/init.h> #include <gpxe/process.h> diff --git a/src/core/random.c b/src/core/random.c index d34e763a6..6e7374e34 100644 --- a/src/core/random.c +++ b/src/core/random.c @@ -4,6 +4,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdlib.h> #include <gpxe/timer.h> diff --git a/src/core/refcnt.c b/src/core/refcnt.c index 30bb6deac..f2286cacd 100644 --- a/src/core/refcnt.c +++ b/src/core/refcnt.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdlib.h> #include <gpxe/refcnt.h> diff --git a/src/core/resolv.c b/src/core/resolv.c index 5a5d4afec..6f01f93e9 100644 --- a/src/core/resolv.c +++ b/src/core/resolv.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 <string.h> diff --git a/src/core/serial.c b/src/core/serial.c index 5b3be39c3..d35e89e95 100644 --- a/src/core/serial.c +++ b/src/core/serial.c @@ -11,6 +11,8 @@ * parity, 1 stop bit (8N1). This can be changed in init_serial(). */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include "stddef.h" #include <gpxe/init.h> #include <gpxe/io.h> diff --git a/src/core/settings.c b/src/core/settings.c index b00c0d079..3a58e39b1 100644 --- a/src/core/settings.c +++ b/src/core/settings.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/core/string.c b/src/core/string.c index 2e17bdcb0..190007a47 100644 --- a/src/core/string.c +++ b/src/core/string.c @@ -10,6 +10,8 @@ * published by the Free Software Foundation. */ +FILE_LICENCE ( GPL2_ONLY ); + /* * stupid library routines.. The optimized versions should generally be found * as inline code in <asm-xx/string.h> diff --git a/src/core/timer.c b/src/core/timer.c index d71e3da1f..096d07ec0 100644 --- a/src/core/timer.c +++ b/src/core/timer.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <unistd.h> /** diff --git a/src/core/uri.c b/src/core/uri.c index 7bb46da0c..d31aabaf4 100644 --- a/src/core/uri.c +++ b/src/core/uri.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** @file * * Uniform Resource Identifiers diff --git a/src/core/uuid.c b/src/core/uuid.c index a3a82c688..2b67d55d5 100644 --- a/src/core/uuid.c +++ b/src/core/uuid.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stdio.h> #include <byteswap.h> diff --git a/src/core/vsprintf.c b/src/core/vsprintf.c index 4457fe4f4..21ab24292 100644 --- a/src/core/vsprintf.c +++ b/src/core/vsprintf.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <stdarg.h> #include <stdio.h> diff --git a/src/core/xfer.c b/src/core/xfer.c index 9ed19da21..a9bcb4d7b 100644 --- a/src/core/xfer.c +++ b/src/core/xfer.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <stdio.h> #include <errno.h> diff --git a/src/crypto/asn1.c b/src/crypto/asn1.c index 25e7495bd..154a8a840 100644 --- a/src/crypto/asn1.c +++ b/src/crypto/asn1.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stddef.h> #include <errno.h> diff --git a/src/crypto/axtls_aes.c b/src/crypto/axtls_aes.c index 51e1924ed..9e4044eaa 100644 --- a/src/crypto/axtls_aes.c +++ b/src/crypto/axtls_aes.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <errno.h> #include <byteswap.h> diff --git a/src/crypto/cbc.c b/src/crypto/cbc.c index c7116ea95..1710203ca 100644 --- a/src/crypto/cbc.c +++ b/src/crypto/cbc.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/crypto.h> diff --git a/src/crypto/chap.c b/src/crypto/chap.c index d0784d250..8aa224c42 100644 --- a/src/crypto/chap.c +++ b/src/crypto/chap.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <stdlib.h> #include <string.h> diff --git a/src/crypto/crypto_null.c b/src/crypto/crypto_null.c index 8cc9217a4..61efb34ea 100644 --- a/src/crypto/crypto_null.c +++ b/src/crypto/crypto_null.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/crypto/hmac.c b/src/crypto/hmac.c index be0298a78..d64730c02 100644 --- a/src/crypto/hmac.c +++ b/src/crypto/hmac.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/crypto/md5.c b/src/crypto/md5.c index 72b291ac8..8c606398e 100644 --- a/src/crypto/md5.c +++ b/src/crypto/md5.c @@ -20,6 +20,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <string.h> #include <byteswap.h> diff --git a/src/crypto/x509.c b/src/crypto/x509.c index 35adfa387..31ed412f2 100644 --- a/src/crypto/x509.c +++ b/src/crypto/x509.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdlib.h> #include <string.h> #include <errno.h> diff --git a/src/drivers/bitbash/bitbash.c b/src/drivers/bitbash/bitbash.c index c6f935202..3e558d5ce 100644 --- a/src/drivers/bitbash/bitbash.c +++ b/src/drivers/bitbash/bitbash.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/bitbash.h> /** @file diff --git a/src/drivers/bitbash/i2c_bit.c b/src/drivers/bitbash/i2c_bit.c index b85057af1..131972708 100644 --- a/src/drivers/bitbash/i2c_bit.c +++ b/src/drivers/bitbash/i2c_bit.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <stdint.h> #include <errno.h> diff --git a/src/drivers/bitbash/spi_bit.c b/src/drivers/bitbash/spi_bit.c index ef87b5a24..8b5060c19 100644 --- a/src/drivers/bitbash/spi_bit.c +++ b/src/drivers/bitbash/spi_bit.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <stdint.h> #include <string.h> diff --git a/src/drivers/block/ata.c b/src/drivers/block/ata.c index c21d2f658..fd636458a 100644 --- a/src/drivers/block/ata.c +++ b/src/drivers/block/ata.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <string.h> #include <assert.h> diff --git a/src/drivers/block/ramdisk.c b/src/drivers/block/ramdisk.c index 509119941..4e6f1bca0 100644 --- a/src/drivers/block/ramdisk.c +++ b/src/drivers/block/ramdisk.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/blockdev.h> #include <gpxe/ramdisk.h> diff --git a/src/drivers/block/scsi.c b/src/drivers/block/scsi.c index b22bd20f4..5431233f9 100644 --- a/src/drivers/block/scsi.c +++ b/src/drivers/block/scsi.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <string.h> #include <byteswap.h> diff --git a/src/drivers/bus/eisa.c b/src/drivers/bus/eisa.c index 1af56f2e8..b533364bd 100644 --- a/src/drivers/bus/eisa.c +++ b/src/drivers/bus/eisa.c @@ -7,6 +7,8 @@ #include <unistd.h> #include <gpxe/eisa.h> +FILE_LICENCE ( GPL2_OR_LATER ); + static void eisabus_remove ( struct root_device *rootdev ); /** diff --git a/src/drivers/bus/isa.c b/src/drivers/bus/isa.c index eb49fbf2f..f458826d8 100644 --- a/src/drivers/bus/isa.c +++ b/src/drivers/bus/isa.c @@ -6,6 +6,8 @@ #include <gpxe/io.h> #include <gpxe/isa.h> +FILE_LICENCE ( GPL2_OR_LATER ); + /* * isa.c implements a "classical" port-scanning method of ISA device * detection. The driver must provide a list of probe addresses diff --git a/src/drivers/bus/isapnp.c b/src/drivers/bus/isapnp.c index 957a955b1..ccf6209fc 100644 --- a/src/drivers/bus/isapnp.c +++ b/src/drivers/bus/isapnp.c @@ -55,6 +55,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/src/drivers/bus/mca.c b/src/drivers/bus/mca.c index d6bb60f28..2815603ef 100644 --- a/src/drivers/bus/mca.c +++ b/src/drivers/bus/mca.c @@ -5,6 +5,8 @@ * */ +FILE_LICENCE ( BSD2 ); + #include <stdint.h> #include <string.h> #include <stdlib.h> diff --git a/src/drivers/bus/pci.c b/src/drivers/bus/pci.c index 7f038c2b5..8899e6e1a 100644 --- a/src/drivers/bus/pci.c +++ b/src/drivers/bus/pci.c @@ -19,6 +19,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/drivers/bus/pciextra.c b/src/drivers/bus/pciextra.c index 4603bcb9a..1dd63ee34 100644 --- a/src/drivers/bus/pciextra.c +++ b/src/drivers/bus/pciextra.c @@ -1,3 +1,5 @@ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/pci.h> diff --git a/src/drivers/infiniband/MT25218_PRM.h b/src/drivers/infiniband/MT25218_PRM.h index 19ca92cdd..f1b7c1ffa 100644 --- a/src/drivers/infiniband/MT25218_PRM.h +++ b/src/drivers/infiniband/MT25218_PRM.h @@ -19,6 +19,8 @@ Copyright (c) 2004 Mellanox Technologies Ltd. All rights reserved. */ +FILE_LICENCE ( GPL2_ONLY ); + /*** *** This file was generated at "Tue Nov 22 15:21:23 2005" *** by: diff --git a/src/drivers/infiniband/MT25408_PRM.h b/src/drivers/infiniband/MT25408_PRM.h index 17882ed7c..39ecd17f1 100644 --- a/src/drivers/infiniband/MT25408_PRM.h +++ b/src/drivers/infiniband/MT25408_PRM.h @@ -19,6 +19,8 @@ Copyright (c) 2004 Mellanox Technologies Ltd. All rights reserved. */ +FILE_LICENCE ( GPL2_ONLY ); + /*** *** This file was generated at "Mon Apr 16 23:22:02 2007" *** by: diff --git a/src/drivers/infiniband/arbel.c b/src/drivers/infiniband/arbel.c index c5b3bc0ea..a9ca34575 100644 --- a/src/drivers/infiniband/arbel.c +++ b/src/drivers/infiniband/arbel.c @@ -19,6 +19,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/drivers/infiniband/arbel.h b/src/drivers/infiniband/arbel.h index 7d97b156c..87f5933df 100644 --- a/src/drivers/infiniband/arbel.h +++ b/src/drivers/infiniband/arbel.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/uaccess.h> #include "mlx_bitops.h" diff --git a/src/drivers/infiniband/hermon.c b/src/drivers/infiniband/hermon.c index e03823ff5..4ece7a4c2 100644 --- a/src/drivers/infiniband/hermon.c +++ b/src/drivers/infiniband/hermon.c @@ -17,6 +17,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/drivers/infiniband/hermon.h b/src/drivers/infiniband/hermon.h index ed39da695..5d92efdf8 100644 --- a/src/drivers/infiniband/hermon.h +++ b/src/drivers/infiniband/hermon.h @@ -7,6 +7,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <gpxe/uaccess.h> #include "mlx_bitops.h" diff --git a/src/drivers/infiniband/ib_packet.c b/src/drivers/infiniband/ib_packet.c index 0f21617fb..d67ba1d77 100644 --- a/src/drivers/infiniband/ib_packet.c +++ b/src/drivers/infiniband/ib_packet.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 <string.h> diff --git a/src/drivers/infiniband/ib_sma.c b/src/drivers/infiniband/ib_sma.c index 2bd3a9e8c..96cc37c90 100644 --- a/src/drivers/infiniband/ib_sma.c +++ b/src/drivers/infiniband/ib_sma.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 <string.h> diff --git a/src/drivers/infiniband/ib_smc.c b/src/drivers/infiniband/ib_smc.c index af0c4ab9d..0879a7443 100644 --- a/src/drivers/infiniband/ib_smc.c +++ b/src/drivers/infiniband/ib_smc.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 <string.h> diff --git a/src/drivers/infiniband/linda.c b/src/drivers/infiniband/linda.c index 675f1cf81..e72590147 100644 --- a/src/drivers/infiniband/linda.c +++ b/src/drivers/infiniband/linda.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 <errno.h> diff --git a/src/drivers/infiniband/linda.h b/src/drivers/infiniband/linda.h index dd1737a68..66eea28e2 100644 --- a/src/drivers/infiniband/linda.h +++ b/src/drivers/infiniband/linda.h @@ -19,6 +19,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/drivers/infiniband/linda_fw.c b/src/drivers/infiniband/linda_fw.c index fc5ea077b..968a5f8db 100644 --- a/src/drivers/infiniband/linda_fw.c +++ b/src/drivers/infiniband/linda_fw.c @@ -30,6 +30,8 @@ * SOFTWARE. */ +FILE_LICENCE ( GPL2_ONLY ); + /* * This file contains the memory image from the vendor, to be copied into * the IB SERDES of the IBA7220 during initialization. diff --git a/src/drivers/infiniband/mlx_bitops.h b/src/drivers/infiniband/mlx_bitops.h index ec57d7b0a..ca9635924 100644 --- a/src/drivers/infiniband/mlx_bitops.h +++ b/src/drivers/infiniband/mlx_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/drivers/infiniband/qib_7220_regs.h b/src/drivers/infiniband/qib_7220_regs.h index 0dd3c53d0..e4f3c4e4f 100644 --- a/src/drivers/infiniband/qib_7220_regs.h +++ b/src/drivers/infiniband/qib_7220_regs.h @@ -36,6 +36,7 @@ /* This file has been further processed by ./drivers/infiniband/qib_genbits.pl */ +FILE_LICENCE ( GPL2_ONLY ); #define QIB_7220_Revision_offset 0x00000000UL struct QIB_7220_Revision_pb { diff --git a/src/drivers/infiniband/qib_genbits.pl b/src/drivers/infiniband/qib_genbits.pl index 9eba4da55..0298d36dd 100644 --- a/src/drivers/infiniband/qib_genbits.pl +++ b/src/drivers/infiniband/qib_genbits.pl @@ -54,7 +54,8 @@ foreach my $datum ( @$data ) { $datum->{fields} = $fields; } -print "\n/* This file has been further processed by $0 */\n\n\n"; +print "\n/* This file has been further processed by $0 */\n\n" +print "FILE_LICENCE ( GPL2_ONLY );\n\n"; foreach my $datum ( @$data ) { printf "#define %s_offset 0x%08xUL\n", diff --git a/src/drivers/net/3c509.c b/src/drivers/net/3c509.c index ecfdec557..1c58f7798 100644 --- a/src/drivers/net/3c509.c +++ b/src/drivers/net/3c509.c @@ -4,6 +4,8 @@ * */ +FILE_LICENCE ( BSD2 ); + #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/src/drivers/net/3c509.h b/src/drivers/net/3c509.h index a06d91ea0..f030d4ba4 100644 --- a/src/drivers/net/3c509.h +++ b/src/drivers/net/3c509.h @@ -31,6 +31,8 @@ */ +FILE_LICENCE ( BSD3 ); + #include "nic.h" /* diff --git a/src/drivers/net/3c515.c b/src/drivers/net/3c515.c index dcfe66ba8..eb9569fbd 100644 --- a/src/drivers/net/3c515.c +++ b/src/drivers/net/3c515.c @@ -43,6 +43,7 @@ * Indent Options: indent -kr -i8 * *********************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); /* to get some global routines like printf */ #include "etherboot.h" diff --git a/src/drivers/net/3c529.c b/src/drivers/net/3c529.c index 31931048e..42824644a 100644 --- a/src/drivers/net/3c529.c +++ b/src/drivers/net/3c529.c @@ -3,6 +3,8 @@ * */ +FILE_LICENCE ( BSD2 ); + #include "etherboot.h" #include <gpxe/mca.h> #include <gpxe/isa.h> /* for ISA_ROM */ diff --git a/src/drivers/net/3c595.c b/src/drivers/net/3c595.c index f1c8d8a80..07c85d035 100644 --- a/src/drivers/net/3c595.c +++ b/src/drivers/net/3c595.c @@ -23,6 +23,8 @@ * timlegge 08-24-2003 Add Multicast Support */ +FILE_LICENCE ( BSD2 ); + /* #define EDEBUG */ #include "etherboot.h" diff --git a/src/drivers/net/3c595.h b/src/drivers/net/3c595.h index 49d8d9b04..e27d204a3 100644 --- a/src/drivers/net/3c595.h +++ b/src/drivers/net/3c595.h @@ -29,6 +29,8 @@ */ +FILE_LICENCE ( BSD3 ); + /* * Created from if_epreg.h by Fred Gray (fgray@rice.edu) to support the * 3c590 family. diff --git a/src/drivers/net/3c5x9.c b/src/drivers/net/3c5x9.c index 565044a11..87c9f29a9 100644 --- a/src/drivers/net/3c5x9.c +++ b/src/drivers/net/3c5x9.c @@ -22,6 +22,8 @@ $Id$ ***************************************************************************/ +FILE_LICENCE ( BSD2 ); + /* #define EDEBUG */ #include <gpxe/ethernet.h> diff --git a/src/drivers/net/3c90x.c b/src/drivers/net/3c90x.c index 215925b47..83b70832b 100644 --- a/src/drivers/net/3c90x.c +++ b/src/drivers/net/3c90x.c @@ -36,6 +36,8 @@ * $ indent -kr -i8 3c90x.c */ +FILE_LICENCE ( BSD2 ); + #include <stdint.h> #include <stdio.h> #include <stdlib.h> diff --git a/src/drivers/net/3c90x.h b/src/drivers/net/3c90x.h index c62ac1a67..acbb29d2e 100644 --- a/src/drivers/net/3c90x.h +++ b/src/drivers/net/3c90x.h @@ -45,6 +45,8 @@ * indent options: indent -kr -i8 3c90x.c */ +FILE_LICENCE ( BSD2 ); + #ifndef __3C90X_H_ #define __3C90X_H_ diff --git a/src/drivers/net/amd8111e.c b/src/drivers/net/amd8111e.c index 03b2768f1..1b1fdc193 100644 --- a/src/drivers/net/amd8111e.c +++ b/src/drivers/net/amd8111e.c @@ -28,6 +28,8 @@ * USA */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include "etherboot.h" #include "nic.h" #include "mii.h" diff --git a/src/drivers/net/amd8111e.h b/src/drivers/net/amd8111e.h index 82b8f7a3c..a402a63ec 100644 --- a/src/drivers/net/amd8111e.h +++ b/src/drivers/net/amd8111e.h @@ -35,6 +35,8 @@ Revision History: 3.0.1 */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifndef _AMD811E_H #define _AMD811E_H diff --git a/src/drivers/net/b44.c b/src/drivers/net/b44.c index d1920bded..38c4746d2 100644 --- a/src/drivers/net/b44.c +++ b/src/drivers/net/b44.c @@ -28,6 +28,8 @@ * Copyright (c) a lot of people too. Please respect their work. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <errno.h> #include <assert.h> #include <stdio.h> diff --git a/src/drivers/net/b44.h b/src/drivers/net/b44.h index fb36757f5..b5afcbdd0 100644 --- a/src/drivers/net/b44.h +++ b/src/drivers/net/b44.h @@ -27,6 +27,9 @@ * * Copyright (c) a lot of people too. Please respect their work. */ + +FILE_LICENCE ( GPL2_OR_LATER ); + #ifndef _B44_H #define _B44_H diff --git a/src/drivers/net/bnx2.c b/src/drivers/net/bnx2.c index 9427d477f..d905a2ede 100644 --- a/src/drivers/net/bnx2.c +++ b/src/drivers/net/bnx2.c @@ -12,6 +12,7 @@ * version 1.4.40 from linux 2.6.17 */ +FILE_LICENCE ( GPL_ANY ); #include "etherboot.h" #include "nic.h" diff --git a/src/drivers/net/bnx2.h b/src/drivers/net/bnx2.h index 57d5fee8f..b853a6942 100644 --- a/src/drivers/net/bnx2.h +++ b/src/drivers/net/bnx2.h @@ -9,6 +9,7 @@ * Written by: Michael Chan (mchan@broadcom.com) */ +FILE_LICENCE ( GPL_ANY ); #ifndef BNX2_H #define BNX2_H diff --git a/src/drivers/net/cs89x0.c b/src/drivers/net/cs89x0.c index 1f647a8e5..df2667d9a 100644 --- a/src/drivers/net/cs89x0.c +++ b/src/drivers/net/cs89x0.c @@ -20,6 +20,8 @@ -- quote from email **/ +FILE_LICENCE ( GPL2_ONLY ); + /* cs89x0.c: A Crystal Semiconductor CS89[02]0 driver for etherboot. */ /* Permission is granted to distribute the enclosed cs89x0.[ch] driver diff --git a/src/drivers/net/cs89x0.h b/src/drivers/net/cs89x0.h index 696191cf4..a36b907c6 100644 --- a/src/drivers/net/cs89x0.h +++ b/src/drivers/net/cs89x0.h @@ -16,6 +16,8 @@ -- quote from email **/ +FILE_LICENCE ( GPL2_ONLY ); + /* Copyright, 1988-1992, Russell Nelson, Crynwr Software This program is free software; you can redistribute it and/or modify diff --git a/src/drivers/net/davicom.c b/src/drivers/net/davicom.c index 4b1faafb5..07c5e1b2b 100644 --- a/src/drivers/net/davicom.c +++ b/src/drivers/net/davicom.c @@ -15,6 +15,8 @@ */ +FILE_LICENCE ( GPL_ANY ); + /*********************************************************************/ /* Revision History */ /*********************************************************************/ diff --git a/src/drivers/net/depca.c b/src/drivers/net/depca.c index 7372e6049..ea85cbe10 100644 --- a/src/drivers/net/depca.c +++ b/src/drivers/net/depca.c @@ -1,5 +1,7 @@ /* #warning "depca.c: FIXME: fix relocation" */ +FILE_LICENCE ( GPL_ANY ); + #if 0 /* Not fixed for relocation yet. Probably won't work relocated above 16MB */ #ifdef ALLMULTI diff --git a/src/drivers/net/dmfe.c b/src/drivers/net/dmfe.c index 309d5bcfa..fad1737a2 100644 --- a/src/drivers/net/dmfe.c +++ b/src/drivers/net/dmfe.c @@ -36,6 +36,8 @@ * ***************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + /* to get some global routines like printf */ #include "etherboot.h" /* to get the interface to the body of the program */ diff --git a/src/drivers/net/e1000/e1000.c b/src/drivers/net/e1000/e1000.c index 3461ee52b..b6af86fc7 100644 --- a/src/drivers/net/e1000/e1000.c +++ b/src/drivers/net/e1000/e1000.c @@ -41,6 +41,8 @@ *******************************************************************************/ +FILE_LICENCE ( GPL2_ONLY ); + #include "e1000.h" /** diff --git a/src/drivers/net/e1000/e1000.h b/src/drivers/net/e1000/e1000.h index 77a09ef19..ea51db6e4 100644 --- a/src/drivers/net/e1000/e1000.h +++ b/src/drivers/net/e1000/e1000.h @@ -26,6 +26,8 @@ *******************************************************************************/ +FILE_LICENCE ( GPL2_ONLY ); + /* Linux PRO/1000 Ethernet Driver main header file */ #ifndef _E1000_H_ diff --git a/src/drivers/net/e1000/e1000_hw.c b/src/drivers/net/e1000/e1000_hw.c index 1054b90a0..48aae3cb8 100644 --- a/src/drivers/net/e1000/e1000_hw.c +++ b/src/drivers/net/e1000/e1000_hw.c @@ -26,6 +26,8 @@ *******************************************************************************/ +FILE_LICENCE ( GPL2_ONLY ); + /* e1000_hw.c * Shared functions for accessing and configuring the MAC */ diff --git a/src/drivers/net/e1000/e1000_hw.h b/src/drivers/net/e1000/e1000_hw.h index 9e3193956..d18060e56 100644 --- a/src/drivers/net/e1000/e1000_hw.h +++ b/src/drivers/net/e1000/e1000_hw.h @@ -26,6 +26,8 @@ *******************************************************************************/ +FILE_LICENCE ( GPL2_ONLY ); + /* e1000_hw.h * Structures, enums, and macros for the MAC */ diff --git a/src/drivers/net/e1000/e1000_osdep.h b/src/drivers/net/e1000/e1000_osdep.h index c2d9eb9cc..cdbf8d163 100644 --- a/src/drivers/net/e1000/e1000_osdep.h +++ b/src/drivers/net/e1000/e1000_osdep.h @@ -26,6 +26,7 @@ *******************************************************************************/ +FILE_LICENCE ( GPL2_ONLY ); /* glue for the OS independent part of e1000 * includes register access macros diff --git a/src/drivers/net/eepro.c b/src/drivers/net/eepro.c index 2a163d1b3..a248692c2 100644 --- a/src/drivers/net/eepro.c +++ b/src/drivers/net/eepro.c @@ -31,6 +31,8 @@ has 34 pins, the top row of 2 are not used. * your option) any later version. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include "etherboot.h" #include <errno.h> #include "nic.h" diff --git a/src/drivers/net/eepro100.c b/src/drivers/net/eepro100.c index 5881da91a..85d7571c6 100644 --- a/src/drivers/net/eepro100.c +++ b/src/drivers/net/eepro100.c @@ -52,6 +52,8 @@ * - Michael Brown * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /* Philosophy of this driver. * * Probing: diff --git a/src/drivers/net/epic100.c b/src/drivers/net/epic100.c index 88e0d2b8d..aaa85f808 100644 --- a/src/drivers/net/epic100.c +++ b/src/drivers/net/epic100.c @@ -1,6 +1,8 @@ /* epic100.c: A SMC 83c170 EPIC/100 fast ethernet driver for Etherboot */ +FILE_LICENCE ( GPL2_OR_LATER ); + /* 05/06/2003 timlegge Fixed relocation and implemented Multicast */ #define LINUX_OUT_MACROS diff --git a/src/drivers/net/epic100.h b/src/drivers/net/epic100.h index 61bd1d94b..f290b1037 100644 --- a/src/drivers/net/epic100.h +++ b/src/drivers/net/epic100.h @@ -1,6 +1,8 @@ #ifndef _EPIC100_H_ # define _EPIC100_H_ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifndef PCI_VENDOR_SMC # define PCI_VENDOR_SMC 0x10B8 #endif diff --git a/src/drivers/net/etherfabric.c b/src/drivers/net/etherfabric.c index cd9c4dcd6..e9533594f 100644 --- a/src/drivers/net/etherfabric.c +++ b/src/drivers/net/etherfabric.c @@ -15,6 +15,9 @@ * ************************************************************************** */ + +FILE_LICENCE ( GPL_ANY ); + #include <stdint.h> #include <stdlib.h> #include <unistd.h> diff --git a/src/drivers/net/etherfabric.h b/src/drivers/net/etherfabric.h index 950f8de26..9657eb7e8 100644 --- a/src/drivers/net/etherfabric.h +++ b/src/drivers/net/etherfabric.h @@ -17,6 +17,8 @@ ************************************************************************** */ +FILE_LICENCE ( GPL_ANY ); + #ifndef EFAB_BITFIELD_H #define EFAB_BITFIELD_H diff --git a/src/drivers/net/etherfabric_nic.h b/src/drivers/net/etherfabric_nic.h index 4be50fbb9..fe94d801a 100644 --- a/src/drivers/net/etherfabric_nic.h +++ b/src/drivers/net/etherfabric_nic.h @@ -15,6 +15,9 @@ * ************************************************************************** */ + +FILE_LICENCE ( GPL_ANY ); + #ifndef EFAB_NIC_H #define EFAB_NIC_H #include <gpxe/bitbash.h> diff --git a/src/drivers/net/forcedeth.c b/src/drivers/net/forcedeth.c index 705b6d4a8..5cd4ce01d 100644 --- a/src/drivers/net/forcedeth.c +++ b/src/drivers/net/forcedeth.c @@ -43,6 +43,8 @@ * Indent Options: indent -kr -i8 ***************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + /* to get some global routines like printf */ #include "etherboot.h" /* to get the interface to the body of the program */ diff --git a/src/drivers/net/hfa384x.h b/src/drivers/net/hfa384x.h index afb506935..2e3ccf52c 100644 --- a/src/drivers/net/hfa384x.h +++ b/src/drivers/net/hfa384x.h @@ -53,6 +53,8 @@ * -------------------------------------------------------------------- */ +FILE_LICENCE ( GPL2_ONLY ); + #ifndef _HFA384x_H #define _HFA384x_H diff --git a/src/drivers/net/ipoib.c b/src/drivers/net/ipoib.c index 8ad2c29fa..cb56458e2 100644 --- a/src/drivers/net/ipoib.c +++ b/src/drivers/net/ipoib.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stdio.h> #include <unistd.h> diff --git a/src/drivers/net/legacy.c b/src/drivers/net/legacy.c index cbec3cf5c..4977076c0 100644 --- a/src/drivers/net/legacy.c +++ b/src/drivers/net/legacy.c @@ -17,6 +17,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + struct nic nic; static int legacy_registered = 0; diff --git a/src/drivers/net/mtd80x.c b/src/drivers/net/mtd80x.c index 791eba8d9..d0e1554fb 100644 --- a/src/drivers/net/mtd80x.c +++ b/src/drivers/net/mtd80x.c @@ -23,6 +23,8 @@ * ***************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + /* to get some global routines like printf */ #include "etherboot.h" /* to get the interface to the body of the program */ diff --git a/src/drivers/net/mtnic.c b/src/drivers/net/mtnic.c index c9ce1d5c7..7fe4b96f0 100644 --- a/src/drivers/net/mtnic.c +++ b/src/drivers/net/mtnic.c @@ -30,6 +30,9 @@ * SOFTWARE. * */ + +FILE_LICENCE ( GPL2_ONLY ); + #include <strings.h> #include <errno.h> #include <gpxe/malloc.h> diff --git a/src/drivers/net/mtnic.h b/src/drivers/net/mtnic.h index 57a7b98c1..aa240e221 100644 --- a/src/drivers/net/mtnic.h +++ b/src/drivers/net/mtnic.h @@ -30,6 +30,9 @@ * SOFTWARE. * */ + +FILE_LICENCE ( GPL2_ONLY ); + #ifndef H_MTNIC_IF_DEFS_H #define H_MTNIC_IF_DEFS_H diff --git a/src/drivers/net/natsemi.c b/src/drivers/net/natsemi.c index 8c41316b2..13adf2a75 100644 --- a/src/drivers/net/natsemi.c +++ b/src/drivers/net/natsemi.c @@ -46,6 +46,8 @@ */ +FILE_LICENCE ( GPL_ANY ); + /* Revision History */ /* diff --git a/src/drivers/net/natsemi.h b/src/drivers/net/natsemi.h index 13b5545aa..ae827ba39 100644 --- a/src/drivers/net/natsemi.h +++ b/src/drivers/net/natsemi.h @@ -1,3 +1,5 @@ +FILE_LICENCE ( GPL_ANY ); + #define NATSEMI_HW_TIMEOUT 400 #define TX_RING_SIZE 4 diff --git a/src/drivers/net/ne2k_isa.c b/src/drivers/net/ne2k_isa.c index f8a45cc8c..603d1edb8 100644 --- a/src/drivers/net/ne2k_isa.c +++ b/src/drivers/net/ne2k_isa.c @@ -19,6 +19,8 @@ Extracted from ns8390.c and adapted by Pantelis Koukousoulas <pktoss@gmail.com> **************************************************************************/ +FILE_LICENCE ( BSD2 ); + #include "ns8390.h" #include "etherboot.h" #include "nic.h" diff --git a/src/drivers/net/ns83820.c b/src/drivers/net/ns83820.c index f90ece25c..44d875fb2 100755 --- a/src/drivers/net/ns83820.c +++ b/src/drivers/net/ns83820.c @@ -35,6 +35,8 @@ * Indent Options: indent -kr -i8 ***************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + /* to get some global routines like printf */ #include "etherboot.h" /* to get the interface to the body of the program */ diff --git a/src/drivers/net/ns8390.c b/src/drivers/net/ns8390.c index c6bbefdd8..97f1141ff 100644 --- a/src/drivers/net/ns8390.c +++ b/src/drivers/net/ns8390.c @@ -25,6 +25,8 @@ SMC8416 PIO support added by Andrew Bettison (andrewb@zip.com.au) on 4/3/02 **************************************************************************/ +FILE_LICENCE ( BSD2 ); + /* #warning "ns8390.c: FIXME: split ISA and PCI, clean up" */ #if 1 diff --git a/src/drivers/net/ns8390.h b/src/drivers/net/ns8390.h index 2c4e972d5..79728e751 100644 --- a/src/drivers/net/ns8390.h +++ b/src/drivers/net/ns8390.h @@ -6,6 +6,8 @@ Author: Martin Renters **************************************************************************/ +FILE_LICENCE ( BSD2 ); + #define VENDOR_NONE 0 #define VENDOR_WD 1 #define VENDOR_NOVELL 2 diff --git a/src/drivers/net/p80211hdr.h b/src/drivers/net/p80211hdr.h index d9a8bbbe6..835467122 100644 --- a/src/drivers/net/p80211hdr.h +++ b/src/drivers/net/p80211hdr.h @@ -57,6 +57,8 @@ * -------------------------------------------------------------------- */ +FILE_LICENCE ( GPL2_ONLY ); + #ifndef _P80211HDR_H #define _P80211HDR_H diff --git a/src/drivers/net/pcnet32.c b/src/drivers/net/pcnet32.c index ecd7f2fce..2ceccbc11 100644 --- a/src/drivers/net/pcnet32.c +++ b/src/drivers/net/pcnet32.c @@ -39,6 +39,8 @@ * Indent Options: indent -kr -i8 ***************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + #include "etherboot.h" #include "nic.h" #include <gpxe/pci.h> diff --git a/src/drivers/net/phantom/nx_bitops.h b/src/drivers/net/phantom/nx_bitops.h index 33c8fbabc..40686326a 100644 --- a/src/drivers/net/phantom/nx_bitops.h +++ b/src/drivers/net/phantom/nx_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/drivers/net/phantom/nxhal_nic_interface.h b/src/drivers/net/phantom/nxhal_nic_interface.h index aa05c7250..f487624bf 100644 --- a/src/drivers/net/phantom/nxhal_nic_interface.h +++ b/src/drivers/net/phantom/nxhal_nic_interface.h @@ -1,3 +1,5 @@ +FILE_LICENCE ( GPL2_ONLY ); + /* * Data types and structure for HAL - NIC interface. * diff --git a/src/drivers/net/phantom/phantom.c b/src/drivers/net/phantom/phantom.c index 370ce262b..ad17cdfe7 100644 --- a/src/drivers/net/phantom/phantom.c +++ b/src/drivers/net/phantom/phantom.c @@ -17,6 +17,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/src/drivers/net/phantom/phantom.h b/src/drivers/net/phantom/phantom.h index 974eecae3..1018a6900 100644 --- a/src/drivers/net/phantom/phantom.h +++ b/src/drivers/net/phantom/phantom.h @@ -20,6 +20,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/drivers/net/phantom/phantom_hw.h b/src/drivers/net/phantom/phantom_hw.h index e2c3e537b..950f36a4f 100644 --- a/src/drivers/net/phantom/phantom_hw.h +++ b/src/drivers/net/phantom/phantom_hw.h @@ -20,6 +20,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/drivers/net/pnic.c b/src/drivers/net/pnic.c index e7095ba39..4b728f4e6 100644 --- a/src/drivers/net/pnic.c +++ b/src/drivers/net/pnic.c @@ -12,6 +12,8 @@ Bochs Pseudo NIC driver for Etherboot * See pnic_api.h for an explanation of the Bochs Pseudo NIC. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stdio.h> #include <gpxe/io.h> diff --git a/src/drivers/net/pnic_api.h b/src/drivers/net/pnic_api.h index 6d117fa60..27e023634 100644 --- a/src/drivers/net/pnic_api.h +++ b/src/drivers/net/pnic_api.h @@ -12,6 +12,8 @@ * time from PNIC_REG_DATA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /* * PCI parameters */ diff --git a/src/drivers/net/prism2.c b/src/drivers/net/prism2.c index c54dba5d8..4c6659295 100644 --- a/src/drivers/net/prism2.c +++ b/src/drivers/net/prism2.c @@ -13,6 +13,8 @@ $Id$ * your option) any later version. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <etherboot.h> #include <nic.h> #include <gpxe/pci.h> diff --git a/src/drivers/net/prism2_pci.c b/src/drivers/net/prism2_pci.c index 9e5208b62..b7c1e6bbf 100644 --- a/src/drivers/net/prism2_pci.c +++ b/src/drivers/net/prism2_pci.c @@ -14,6 +14,8 @@ $Id$ * your option) any later version. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/pci.h> #include <nic.h> diff --git a/src/drivers/net/prism2_plx.c b/src/drivers/net/prism2_plx.c index 5eaa74122..9fb5be2a7 100644 --- a/src/drivers/net/prism2_plx.c +++ b/src/drivers/net/prism2_plx.c @@ -14,6 +14,8 @@ $Id$ * your option) any later version. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/pci.h> #include <nic.h> diff --git a/src/drivers/net/r8169.c b/src/drivers/net/r8169.c index 2bba321e3..69ce4e8b2 100644 --- a/src/drivers/net/r8169.c +++ b/src/drivers/net/r8169.c @@ -23,6 +23,8 @@ * Copyright (c) a lot of people too. Please respect their work. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stdio.h> #include <stdlib.h> diff --git a/src/drivers/net/r8169.h b/src/drivers/net/r8169.h index d35363269..66fdc7de2 100644 --- a/src/drivers/net/r8169.h +++ b/src/drivers/net/r8169.h @@ -24,6 +24,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + #ifndef _R8169_H_ #define _R8169_H_ diff --git a/src/drivers/net/rtl8139.c b/src/drivers/net/rtl8139.c index 516f9ec4e..99830d7a5 100644 --- a/src/drivers/net/rtl8139.c +++ b/src/drivers/net/rtl8139.c @@ -12,6 +12,8 @@ */ +FILE_LICENCE ( GPL_ANY ); + /*********************************************************************/ /* Revision History */ /*********************************************************************/ diff --git a/src/drivers/net/sis900.c b/src/drivers/net/sis900.c index c24b43ff4..177cd6572 100644 --- a/src/drivers/net/sis900.c +++ b/src/drivers/net/sis900.c @@ -24,6 +24,8 @@ preliminary Rev. 1.0 Jan. 18, 1998 http://www.sis.com.tw/support/databook.htm */ +FILE_LICENCE ( GPL_ANY ); + /* Revision History */ /* diff --git a/src/drivers/net/sis900.h b/src/drivers/net/sis900.h index e88e111d4..7a5c6b537 100644 --- a/src/drivers/net/sis900.h +++ b/src/drivers/net/sis900.h @@ -11,6 +11,8 @@ * http://www.sis.com.tw/support/databook.htm */ +FILE_LICENCE ( GPL_ANY ); + /* MAC operationl registers of SiS 7016 and SiS 900 ethernet controller */ /* The I/O extent, SiS 900 needs 256 bytes of io address */ #define SIS900_TOTAL_SIZE 0x100 diff --git a/src/drivers/net/smc9000.c b/src/drivers/net/smc9000.c index 31a1e1b11..cfbf10475 100644 --- a/src/drivers/net/smc9000.c +++ b/src/drivers/net/smc9000.c @@ -26,6 +26,9 @@ * Linux driver. * *---------------------------------------------------------------------------*/ + +FILE_LICENCE ( GPL_ANY ); + #define LINUX_OUT_MACROS 1 #define SMC9000_DEBUG 0 diff --git a/src/drivers/net/smc9000.h b/src/drivers/net/smc9000.h index 318b77981..979975b09 100644 --- a/src/drivers/net/smc9000.h +++ b/src/drivers/net/smc9000.h @@ -28,6 +28,9 @@ * 98-09-27 Daniel Engström moved some static strings back to the * main .c file * --------------------------------------------------------------------------*/ + +FILE_LICENCE ( GPL_ANY ); + #ifndef _SMC9000_H_ # define _SMC9000_H_ diff --git a/src/drivers/net/sundance.c b/src/drivers/net/sundance.c index cb8ce74e2..a5552cfc7 100644 --- a/src/drivers/net/sundance.c +++ b/src/drivers/net/sundance.c @@ -40,6 +40,8 @@ * ****************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + /* to get some global routines like printf */ #include "etherboot.h" /* to get the interface to the body of the program */ diff --git a/src/drivers/net/tg3.c b/src/drivers/net/tg3.c index 141802740..18e68ea70 100644 --- a/src/drivers/net/tg3.c +++ b/src/drivers/net/tg3.c @@ -6,6 +6,8 @@ * Copyright (C) 2003 Eric Biederman (ebiederman@lnxi.com) [etherboot port] */ +FILE_LICENCE ( GPL2_ONLY ); + /* 11-13-2003 timlegge Fix Issue with NetGear GA302T * 11-18-2003 ebiederm Generalize NetGear Fix to what the code was supposed to be. * 01-06-2005 Alf (Frederic Olivie) Add Dell bcm 5751 (0x1677) support diff --git a/src/drivers/net/tg3.h b/src/drivers/net/tg3.h index d1c09e03a..a7762c3c9 100644 --- a/src/drivers/net/tg3.h +++ b/src/drivers/net/tg3.h @@ -5,6 +5,8 @@ * Copyright (C) 2001 Jeff Garzik (jgarzik@mandrakesoft.com) */ +FILE_LICENCE ( GPL2_ONLY ); + #ifndef _T3_H #define _T3_H diff --git a/src/drivers/net/tlan.c b/src/drivers/net/tlan.c index c0d027c63..bc1b485e7 100644 --- a/src/drivers/net/tlan.c +++ b/src/drivers/net/tlan.c @@ -38,6 +38,8 @@ * Indent Options: indent -kr -i8 ***************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + #include "etherboot.h" #include "nic.h" #include <gpxe/pci.h> diff --git a/src/drivers/net/tlan.h b/src/drivers/net/tlan.h index de57d5984..61da5a04b 100644 --- a/src/drivers/net/tlan.h +++ b/src/drivers/net/tlan.h @@ -34,6 +34,8 @@ * Indent Style: indent -kr -i8 ***************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + /***************************************************************** * TLan Definitions * diff --git a/src/drivers/net/tulip.c b/src/drivers/net/tulip.c index 553cded6c..e08e0d842 100644 --- a/src/drivers/net/tulip.c +++ b/src/drivers/net/tulip.c @@ -43,6 +43,8 @@ ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers/tulip-devel.html */ +FILE_LICENCE ( GPL_ANY ); + /*********************************************************************/ /* Revision History */ /*********************************************************************/ diff --git a/src/drivers/net/w89c840.c b/src/drivers/net/w89c840.c index 5dc6c93a9..fa6188af4 100644 --- a/src/drivers/net/w89c840.c +++ b/src/drivers/net/w89c840.c @@ -29,6 +29,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /* * date version by what * Written: Aug 20 2000 V0.10 iko Initial revision. diff --git a/src/drivers/net/wlan_compat.h b/src/drivers/net/wlan_compat.h index a4f75e3ab..9b7693bb4 100644 --- a/src/drivers/net/wlan_compat.h +++ b/src/drivers/net/wlan_compat.h @@ -45,6 +45,8 @@ * -------------------------------------------------------------------- */ +FILE_LICENCE ( GPL2_ONLY ); + #ifndef _WLAN_COMPAT_H #define _WLAN_COMPAT_H diff --git a/src/drivers/nvs/nvs.c b/src/drivers/nvs/nvs.c index 8e94b8728..7252808bf 100644 --- a/src/drivers/nvs/nvs.c +++ b/src/drivers/nvs/nvs.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <string.h> #include <errno.h> diff --git a/src/drivers/nvs/spi.c b/src/drivers/nvs/spi.c index dbdc32f61..793080a0e 100644 --- a/src/drivers/nvs/spi.c +++ b/src/drivers/nvs/spi.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <errno.h> #include <unistd.h> diff --git a/src/drivers/nvs/threewire.c b/src/drivers/nvs/threewire.c index dbecf9099..f7a20bbef 100644 --- a/src/drivers/nvs/threewire.c +++ b/src/drivers/nvs/threewire.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <assert.h> #include <unistd.h> diff --git a/src/hci/commands/autoboot_cmd.c b/src/hci/commands/autoboot_cmd.c index 0e6f2948d..95b172d10 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 87abb05a9..a9e1f1698 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 9b577c86e..96aac8d4d 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 f2508e556..586fc5794 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 6d8b59081..68f1e87d5 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 e425247da..0da2497a7 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 c0c07280b..5eb2f06f5 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 227682cb4..4372e34f5 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 d5bbfb859..783b747b2 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 347249f7c..648f33893 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 468bac024..51fc7c904 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 1813939b1..79b296cfe 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 2310641ea..c1359c868 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 af86519ca..16b7d27c2 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 3620d08bd..087ebcc34 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 1476733f3..7ac1086ac 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 9fca30882..1608c0a78 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 a52089ce7..ee7d609db 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 15f97326b..f549d7519 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 cd27f9fea..782e7b5c6 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 ff7a76799..e5699d519 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 74787e3c1..5bedbdc98 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 3271c4835..8afefe3df 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 8e7d878b6..4b16608c0 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 c14a2c03c..b80bf27b7 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 83a56d3c0..74ce6afb1 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> diff --git a/src/image/efi_image.c b/src/image/efi_image.c index ae95debc8..60d150a9c 100644 --- a/src/image/efi_image.c +++ b/src/image/efi_image.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <errno.h> #include <gpxe/efi/efi.h> #include <gpxe/image.h> diff --git a/src/image/elf.c b/src/image/elf.c index ca650ea88..a0ec065ec 100644 --- a/src/image/elf.c +++ b/src/image/elf.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/image/embedded.c b/src/image/embedded.c index 4f7635788..58a14ea4d 100644 --- a/src/image/embedded.c +++ b/src/image/embedded.c @@ -6,6 +6,8 @@ * fetching over the network. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <gpxe/image.h> #include <gpxe/uaccess.h> diff --git a/src/image/script.c b/src/image/script.c index 2d2427463..e94303abc 100644 --- a/src/image/script.c +++ b/src/image/script.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/image/segment.c b/src/image/segment.c index 3d2b8a4b3..e24745369 100644 --- a/src/image/segment.c +++ b/src/image/segment.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * 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 */ diff --git a/src/interface/efi/efi_console.c b/src/interface/efi/efi_console.c index b78de618d..04af28a29 100644 --- a/src/interface/efi/efi_console.c +++ b/src/interface/efi/efi_console.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <assert.h> #include <gpxe/efi/efi.h> diff --git a/src/interface/efi/efi_init.c b/src/interface/efi/efi_init.c index 43a3ca805..ad550375f 100644 --- a/src/interface/efi/efi_init.c +++ b/src/interface/efi/efi_init.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <gpxe/efi/efi.h> #include <gpxe/uuid.h> diff --git a/src/interface/efi/efi_io.c b/src/interface/efi/efi_io.c index e11f9bfd3..0ba16f8f6 100644 --- a/src/interface/efi/efi_io.c +++ b/src/interface/efi/efi_io.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <assert.h> #include <gpxe/io.h> #include <gpxe/efi/efi.h> diff --git a/src/interface/efi/efi_pci.c b/src/interface/efi/efi_pci.c index f87b54071..ec43391bb 100644 --- a/src/interface/efi/efi_pci.c +++ b/src/interface/efi/efi_pci.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <errno.h> #include <gpxe/pci.h> #include <gpxe/efi/efi.h> diff --git a/src/interface/efi/efi_smbios.c b/src/interface/efi/efi_smbios.c index 5888f2f91..8caf624c3 100644 --- a/src/interface/efi/efi_smbios.c +++ b/src/interface/efi/efi_smbios.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <errno.h> #include <gpxe/smbios.h> #include <gpxe/efi/efi.h> diff --git a/src/interface/efi/efi_snp.c b/src/interface/efi/efi_snp.c index 771b9174b..e4b3546e8 100644 --- a/src/interface/efi/efi_snp.c +++ b/src/interface/efi/efi_snp.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdlib.h> #include <string.h> #include <errno.h> diff --git a/src/interface/efi/efi_strerror.c b/src/interface/efi/efi_strerror.c index adfeaed52..2bf4581d3 100644 --- a/src/interface/efi/efi_strerror.c +++ b/src/interface/efi/efi_strerror.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdio.h> #include <gpxe/efi/efi.h> diff --git a/src/interface/efi/efi_timer.c b/src/interface/efi/efi_timer.c index d1ba43af0..0dcb7605a 100644 --- a/src/interface/efi/efi_timer.c +++ b/src/interface/efi/efi_timer.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <limits.h> #include <assert.h> #include <unistd.h> diff --git a/src/interface/efi/efi_uaccess.c b/src/interface/efi/efi_uaccess.c index 1c54c0310..63e9521c9 100644 --- a/src/interface/efi/efi_uaccess.c +++ b/src/interface/efi/efi_uaccess.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <gpxe/uaccess.h> #include <gpxe/efi/efi.h> diff --git a/src/interface/efi/efi_umalloc.c b/src/interface/efi/efi_umalloc.c index 4de3789d4..7113c792b 100644 --- a/src/interface/efi/efi_umalloc.c +++ b/src/interface/efi/efi_umalloc.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <assert.h> #include <gpxe/umalloc.h> #include <gpxe/efi/efi.h> diff --git a/src/interface/smbios/smbios.c b/src/interface/smbios/smbios.c index 8207c1fa0..cc7df59ae 100644 --- a/src/interface/smbios/smbios.c +++ b/src/interface/smbios/smbios.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <string.h> #include <errno.h> diff --git a/src/interface/smbios/smbios_settings.c b/src/interface/smbios/smbios_settings.c index ec594c52c..2235d4998 100644 --- a/src/interface/smbios/smbios_settings.c +++ b/src/interface/smbios/smbios_settings.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <string.h> #include <errno.h> diff --git a/src/net/aoe.c b/src/net/aoe.c index 08887fe0a..9e6a99e28 100644 --- a/src/net/aoe.c +++ b/src/net/aoe.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <string.h> #include <stdio.h> diff --git a/src/net/arp.c b/src/net/arp.c index cf2fe988d..8bc83958a 100644 --- a/src/net/arp.c +++ b/src/net/arp.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <string.h> #include <byteswap.h> diff --git a/src/net/dhcpopts.c b/src/net/dhcpopts.c index 1898011aa..c1940f1f5 100644 --- a/src/net/dhcpopts.c +++ b/src/net/dhcpopts.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/net/dhcppkt.c b/src/net/dhcppkt.c index 2f3e68021..20a0e6668 100644 --- a/src/net/dhcppkt.c +++ b/src/net/dhcppkt.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/net/ethernet.c b/src/net/ethernet.c index b16135a9a..812da8647 100644 --- a/src/net/ethernet.c +++ b/src/net/ethernet.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stdio.h> #include <string.h> diff --git a/src/net/fakedhcp.c b/src/net/fakedhcp.c index 0518789c3..ad3f046fe 100644 --- a/src/net/fakedhcp.c +++ b/src/net/fakedhcp.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/net/icmp.c b/src/net/icmp.c index 3e45c1f61..749c34549 100644 --- a/src/net/icmp.c +++ b/src/net/icmp.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <errno.h> #include <gpxe/iobuf.h> diff --git a/src/net/infiniband.c b/src/net/infiniband.c index d79bdc2c6..1c584d830 100644 --- a/src/net/infiniband.c +++ b/src/net/infiniband.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/net/iobpad.c b/src/net/iobpad.c index 9961edca4..cbae221a1 100644 --- a/src/net/iobpad.c +++ b/src/net/iobpad.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/net/ipv4.c b/src/net/ipv4.c index 8668d44bb..79fa9ea6e 100644 --- a/src/net/ipv4.c +++ b/src/net/ipv4.c @@ -21,6 +21,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /* Unique IP datagram identification number */ static uint16_t next_ident = 0; diff --git a/src/net/netdev_settings.c b/src/net/netdev_settings.c index 44aca7d8a..54ce2fbce 100644 --- a/src/net/netdev_settings.c +++ b/src/net/netdev_settings.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <errno.h> #include <gpxe/dhcp.h> diff --git a/src/net/netdevice.c b/src/net/netdevice.c index b24fbfdc6..1a68af2c4 100644 --- a/src/net/netdevice.c +++ b/src/net/netdevice.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/net/nullnet.c b/src/net/nullnet.c index 7e199ce3d..381f02a6a 100644 --- a/src/net/nullnet.c +++ b/src/net/nullnet.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <errno.h> #include <gpxe/iobuf.h> diff --git a/src/net/rarp.c b/src/net/rarp.c index bb5e6ad76..1d0dd961f 100644 --- a/src/net/rarp.c +++ b/src/net/rarp.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <byteswap.h> #include <gpxe/netdevice.h> diff --git a/src/net/retry.c b/src/net/retry.c index cd793a7f8..3ca69362b 100644 --- a/src/net/retry.c +++ b/src/net/retry.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <gpxe/timer.h> #include <gpxe/list.h> diff --git a/src/net/tcp.c b/src/net/tcp.c index 0ef657793..1de2abf06 100644 --- a/src/net/tcp.c +++ b/src/net/tcp.c @@ -21,6 +21,8 @@ * */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** A TCP connection */ struct tcp_connection { /** Reference counter */ diff --git a/src/net/tcp/http.c b/src/net/tcp/http.c index b8ea3cc5b..a02408a90 100644 --- a/src/net/tcp/http.c +++ b/src/net/tcp/http.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/net/tcp/https.c b/src/net/tcp/https.c index 15ab32ef8..7a2961f21 100644 --- a/src/net/tcp/https.c +++ b/src/net/tcp/https.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/net/tcp/iscsi.c b/src/net/tcp/iscsi.c index 51c2beeaa..943bdefc1 100644 --- a/src/net/tcp/iscsi.c +++ b/src/net/tcp/iscsi.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stddef.h> #include <string.h> #include <stdlib.h> diff --git a/src/net/tcpip.c b/src/net/tcpip.c index cef638f34..932fd482a 100644 --- a/src/net/tcpip.c +++ b/src/net/tcpip.c @@ -14,6 +14,8 @@ * TCP/IP transport-network layer interface */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** Process a received TCP/IP packet * * @v iobuf I/O buffer diff --git a/src/net/tls.c b/src/net/tls.c index 25f18f79b..a5b126ed8 100644 --- a/src/net/tls.c +++ b/src/net/tls.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * @file * diff --git a/src/net/udp.c b/src/net/udp.c index 1b83518ef..771655e06 100644 --- a/src/net/udp.c +++ b/src/net/udp.c @@ -16,6 +16,8 @@ * UDP protocol */ +FILE_LICENCE ( GPL2_OR_LATER ); + /** * A UDP connection * diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c index 289e41ade..9c1e09dae 100644 --- a/src/net/udp/dhcp.c +++ b/src/net/udp/dhcp.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <stdlib.h> #include <stdio.h> diff --git a/src/net/udp/dns.c b/src/net/udp/dns.c index c1da454b7..f94094aa9 100644 --- a/src/net/udp/dns.c +++ b/src/net/udp/dns.c @@ -19,6 +19,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/src/net/udp/slam.c b/src/net/udp/slam.c index 71043f45a..396f69b07 100644 --- a/src/net/udp/slam.c +++ b/src/net/udp/slam.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 <string.h> diff --git a/src/net/udp/tftp.c b/src/net/udp/tftp.c index be7e58afc..4812f1ce6 100644 --- a/src/net/udp/tftp.c +++ b/src/net/udp/tftp.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/usr/autoboot.c b/src/usr/autoboot.c index 6cb744c3f..a99d12b13 100644 --- a/src/usr/autoboot.c +++ b/src/usr/autoboot.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <stdio.h> #include <errno.h> diff --git a/src/usr/dhcpmgmt.c b/src/usr/dhcpmgmt.c index 6acf7f6da..a0ac4c308 100644 --- a/src/usr/dhcpmgmt.c +++ b/src/usr/dhcpmgmt.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <stdio.h> #include <errno.h> diff --git a/src/usr/ifmgmt.c b/src/usr/ifmgmt.c index 0ebf56154..9c82503a9 100644 --- a/src/usr/ifmgmt.c +++ b/src/usr/ifmgmt.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <string.h> #include <stdio.h> #include <unistd.h> diff --git a/src/usr/imgmgmt.c b/src/usr/imgmgmt.c index bd53d824a..0ffff5d4b 100644 --- a/src/usr/imgmgmt.c +++ b/src/usr/imgmgmt.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/usr/pxemenu.c b/src/usr/pxemenu.c index 793cb624d..a778a1268 100644 --- a/src/usr/pxemenu.c +++ b/src/usr/pxemenu.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/usr/route.c b/src/usr/route.c index f3a49f46b..cf5a55d6d 100644 --- a/src/usr/route.c +++ b/src/usr/route.c @@ -16,6 +16,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +FILE_LICENCE ( GPL2_OR_LATER ); + #include <stdio.h> #include <gpxe/netdevice.h> #include <gpxe/ip.h> |