[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.
This commit is contained in:
Michael Brown
2009-05-01 15:41:06 +01:00
parent 41307f2874
commit c44a193d0d
518 changed files with 1039 additions and 2 deletions

View File

@@ -10,6 +10,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#ifdef NDEBUG
#define ASSERTING 0
#else

View File

@@ -1,6 +1,8 @@
#ifndef ETHERBOOT_BYTESWAP_H
#define ETHERBOOT_BYTESWAP_H
FILE_LICENCE ( GPL2_OR_LATER );
#include "endian.h"
#include "bits/byteswap.h"

View File

@@ -14,6 +14,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/**
* A console driver
*

View File

@@ -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')

View File

@@ -10,6 +10,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#undef ERR
#define ERR (-1)

View File

@@ -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. */

View File

@@ -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

View File

@@ -1,6 +1,8 @@
#ifndef ERRNO_H
#define ERRNO_H
FILE_LICENCE ( GPL2_OR_LATER );
/** @file
*
* Error codes

View File

@@ -6,6 +6,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stddef.h>
enum getopt_argument_requirement {

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
/**

View File

@@ -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;

View File

@@ -26,6 +26,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/** A handler for an escape sequence */
struct ansiesc_handler {
/** The control function identifier

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/list.h>
#include <gpxe/if_ether.h>

View File

@@ -11,6 +11,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/** @defgroup Single-implementation APIs
*
* These are APIs for which only a single implementation may be

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/tables.h>
struct net_device;

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#define ASN1_INTEGER 0x02
#define ASN1_BIT_STRING 0x03
#define ASN1_OCTET_STRING 0x04

View File

@@ -12,6 +12,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/**
* An ATA Logical Block Address
*

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
/**

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
struct bit_basher;
/** Bit-bashing operations */

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>

View File

@@ -19,6 +19,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
FILE_LICENCE ( GPL2_OR_LATER );
/**
* @file
*

View File

@@ -8,6 +8,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/uaccess.h>
struct block_device;

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/crypto.h>
/**

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/md5.h>

View File

@@ -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 */

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/** A CPIO archive header
*
* All field are hexadecimal ASCII numbers padded with '0' on the

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <stddef.h>

View File

@@ -8,6 +8,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/list.h>
#include <gpxe/tables.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/in.h>
#include <gpxe/list.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
/** A DHCP options block */

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/dhcp.h>
#include <gpxe/dhcpopts.h>
#include <gpxe/refcnt.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/in.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
struct job_interface;
struct image;

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <curses.h>
#include <gpxe/editstring.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/** An editable string */
struct edit_string {
/** Buffer for string */

View File

@@ -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

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#ifdef PCIAPI_EFI
#define PCIAPI_PREFIX_efi
#else

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#ifdef SMBIOS_EFI
#define SMBIOS_PREFIX_efi
#else

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#ifdef TIMER_EFI
#define TIMER_PREFIX_efi
#else

View File

@@ -10,6 +10,8 @@
* no-ops.
*/
FILE_LICENCE ( GPL2_OR_LATER );
#ifdef UACCESS_EFI
#define UACCESS_PREFIX_efi
#else

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#ifdef UMALLOC_EFI
#define UMALLOC_PREFIX_efi
#else

View File

@@ -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>

View File

@@ -8,6 +8,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <elf.h>
extern int elf_load ( struct image *image );

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <bits/errfile.h>
/**

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/tables.h>
struct errortab {

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/netdevice.h>
#include <gpxe/if_ether.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
struct net_device;

View File

@@ -11,6 +11,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/**
* @defgroup featurecat Feature categories
* @{

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stddef.h>
#include <gpxe/xfer.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/** FTP default port */
#define FTP_PORT 21

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
struct gdb_transport;
/**

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/tables.h>
#include <gdbmach.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
struct sockaddr_in;
struct gdb_transport;

View File

@@ -8,6 +8,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
extern void hide_umalloc ( physaddr_t start, physaddr_t end );

View File

@@ -6,6 +6,8 @@
* Keyed-Hashing for Message Authentication
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/crypto.h>
/**

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/** HTTP default port */
#define HTTP_PORT 80

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/bitbash.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/ib_packet.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
struct ib_device;
struct ib_queue_pair;
struct ib_address_vector;

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/infiniband.h>
#include <gpxe/process.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/infiniband.h>
typedef int ( * ib_local_mad_t ) ( struct ib_device *ibdev,

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/** An ICMP header */
struct icmp_header {
/** Type */

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/ip6.h>
#include <gpxe/ndp.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
/* ARP protocol HARDWARE identifiers. */

View File

@@ -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 */

View File

@@ -8,6 +8,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/tables.h>
#include <gpxe/list.h>
#include <gpxe/uaccess.h>

View File

@@ -1,6 +1,8 @@
#ifndef _GPXE_IN_H
#define _GPXE_IN_H
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/socket.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/refcnt.h>
#include <gpxe/device.h>

View File

@@ -1,6 +1,8 @@
#ifndef _GPXE_INIT_H
#define _GPXE_INIT_H
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/tables.h>
/**

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/refcnt.h>
/** An object communication interface */

View File

@@ -16,6 +16,8 @@
* the address parameter.
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/api.h>
#include <config/ioapi.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <assert.h>
#include <gpxe/list.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/in.h>
#include <gpxe/list.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/in.h>

View File

@@ -6,6 +6,8 @@
* IP over Infiniband
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/infiniband.h>
/** IPoIB packet length */

View File

@@ -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>

View File

@@ -19,6 +19,8 @@
* the underlying "meaning" is big-endian.
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <byteswap.h>
/*

View File

@@ -33,6 +33,8 @@
*
***************************************************************************/
FILE_LICENCE ( GPL2_OR_LATER );
#ifndef ISAPNP_H
#define ISAPNP_H

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/socket.h>
#include <gpxe/scsi.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stddef.h>
#include <gpxe/interface.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/*
* Symbolic names for some standard ASCII characters
*

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <stddef.h>

View File

@@ -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>

View File

@@ -9,6 +9,8 @@
* list.h.
*/
FILE_LICENCE ( GPL2_ONLY );
#include <stddef.h>
#include <assert.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
extern int login_ui ( void );
#endif /* _GPXE_LOGIN_UI_H */

View File

@@ -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

View File

@@ -5,6 +5,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#ifndef MCA_H
#define MCA_H

View File

@@ -1,6 +1,8 @@
#ifndef _GPXE_MD5_H
#define _GPXE_MD5_H
FILE_LICENCE ( GPL2_OR_LATER );
struct digest_algorithm;
#include <stdint.h>

View File

@@ -10,6 +10,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
/** A usable memory region */
struct memory_region {
/** Physical start address */

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
struct job_interface;
extern struct job_interface monojob;

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/api.h>
#include <config/nap.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/list.h>
#include <gpxe/tables.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#ifdef NAP_NULL
#define NAP_PREFIX_null
#else

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/dhcpopts.h>
#include <gpxe/settings.h>

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
/** A non-volatile storage device */

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdarg.h>
#include <gpxe/tables.h>
#include <gpxe/socket.h>

View File

@@ -16,6 +16,8 @@
* your option) any later version.
*/
FILE_LICENCE ( GPL2_ONLY );
#include <stdint.h>
#include <gpxe/device.h>
#include <gpxe/tables.h>

View File

@@ -7,6 +7,8 @@
* Please keep sorted.
*/
FILE_LICENCE ( GPL2_ONLY );
/* Device classes and subclasses */
#define PCI_CLASS_NOT_DEFINED 0x0000

View File

@@ -7,6 +7,8 @@
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <gpxe/api.h>
#include <config/ioapi.h>

Some files were not shown because too many files have changed in this diff Show More