diff options
| author | Michael Brown | 2009-05-01 16:41:06 +0200 |
|---|---|---|
| committer | Michael Brown | 2009-05-18 09:33:25 +0200 |
| commit | c44a193d0d147ed6f98741124569864e516e9d4b (patch) | |
| tree | 94a9b841e13eb643181e180f358c8612b1b29bfc /src/arch/i386/include | |
| parent | [legal] Add licence.pl and %.licence make target (diff) | |
| download | ipxe-c44a193d0d147ed6f98741124569864e516e9d4b.tar.gz ipxe-c44a193d0d147ed6f98741124569864e516e9d4b.tar.xz ipxe-c44a193d0d147ed6f98741124569864e516e9d4b.zip | |
[legal] Add a selection of FILE_LICENCE declarations
Add FILE_LICENCE declarations to almost all files that make up the
various standard builds of gPXE.
Diffstat (limited to 'src/arch/i386/include')
47 files changed, 94 insertions, 0 deletions
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 */ |
