Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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.
  • Loading branch information
Michael Brown committed May 18, 2009
1 parent 41307f2 commit c44a193
Show file tree
Hide file tree
Showing 518 changed files with 1,039 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/arch/i386/core/basemem_packet.c
Expand Up @@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

FILE_LICENCE ( GPL2_OR_LATER );

/**
* @file
*
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/core/pic8259.c
Expand Up @@ -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>

Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/core/rdtsc_timer.c
Expand Up @@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

FILE_LICENCE ( GPL2_OR_LATER );

/** @file
*
* RDTSC timer
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/core/relocate.c
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions 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
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/core/stack.S
@@ -1,3 +1,5 @@
FILE_LICENCE ( GPL2_OR_LATER )

.arch i386

/****************************************************************************
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/core/stack16.S
@@ -1,3 +1,5 @@
FILE_LICENCE ( GPL2_OR_LATER )

.arch i386

/****************************************************************************
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/core/timer2.c
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/core/virtaddr.S
Expand Up @@ -4,6 +4,8 @@
*
*/

FILE_LICENCE ( GPL2_OR_LATER )

#include "librm.h"

.arch i386
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/core/x86_io.c
Expand Up @@ -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>

Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/drivers/net/undi.c
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions 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
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/drivers/net/undiload.c
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/drivers/net/undinet.c
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/drivers/net/undionly.c
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/drivers/net/undipreload.c
Expand Up @@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

FILE_LICENCE ( GPL2_OR_LATER );

#include <realmode.h>
#include <undipreload.h>

Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/drivers/net/undirom.c
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/firmware/pcbios/basemem.c
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/firmware/pcbios/bios_console.c
Expand Up @@ -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>
Expand Down
4 changes: 3 additions & 1 deletion src/arch/i386/firmware/pcbios/e820mangler.S
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/firmware/pcbios/fakee820.c
Expand Up @@ -15,6 +15,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

FILE_LICENCE ( GPL2_OR_LATER );

#include <realmode.h>
#include <biosint.h>

Expand Down
2 changes: 2 additions & 0 deletions 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>
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/firmware/pcbios/hidemem.c
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/firmware/pcbios/memmap.c
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/firmware/pcbios/pnpbios.c
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/image/bootsector.c
Expand Up @@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

FILE_LICENCE ( GPL2_OR_LATER );

/**
* @file
*
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/image/bzimage.c
Expand Up @@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

FILE_LICENCE ( GPL2_OR_LATER );

/**
* @file
*
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/image/com32.c
Expand Up @@ -23,6 +23,8 @@
*
*/

FILE_LICENCE ( GPL2_OR_LATER );

#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/image/comboot.c
Expand Up @@ -23,6 +23,8 @@
*
*/

FILE_LICENCE ( GPL2_OR_LATER );

#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/image/elfboot.c
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/image/eltorito.c
Expand Up @@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

FILE_LICENCE ( GPL2_OR_LATER );

/**
* @file
*
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/image/multiboot.c
Expand Up @@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

FILE_LICENCE ( GPL2_OR_LATER );

/**
* @file
*
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/image/pxe_image.c
Expand Up @@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

FILE_LICENCE ( GPL2_OR_LATER );

/**
* @file
*
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/include/basemem.h
Expand Up @@ -7,6 +7,8 @@
*
*/

FILE_LICENCE ( GPL2_OR_LATER );

#include <stdint.h>
#include <realmode.h>
#include <bios.h>
Expand Down
2 changes: 2 additions & 0 deletions 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 */
Expand Down
2 changes: 2 additions & 0 deletions 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
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/include/biosint.h
Expand Up @@ -6,6 +6,8 @@
*
*/

FILE_LICENCE ( GPL2_OR_LATER );

#include <realmode.h>

struct segoff;
Expand Down
2 changes: 2 additions & 0 deletions 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)
{
Expand Down
2 changes: 2 additions & 0 deletions 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 */
Expand Down
2 changes: 2 additions & 0 deletions 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 */
2 changes: 2 additions & 0 deletions 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
* @{
Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/include/bits/io.h
Expand Up @@ -7,6 +7,8 @@
*
*/

FILE_LICENCE ( GPL2_OR_LATER );

#include <gpxe/x86_io.h>

#endif /* _BITS_IO_H */
2 changes: 2 additions & 0 deletions src/arch/i386/include/bits/nap.h
Expand Up @@ -7,6 +7,8 @@
*
*/

FILE_LICENCE ( GPL2_OR_LATER );

#include <gpxe/bios_nap.h>
#include <gpxe/efi/efix86_nap.h>

Expand Down
2 changes: 2 additions & 0 deletions src/arch/i386/include/bits/smbios.h
Expand Up @@ -7,6 +7,8 @@
*
*/

FILE_LICENCE ( GPL2_OR_LATER );

#include <gpxe/bios_smbios.h>

#endif /* _BITS_SMBIOS_H */
2 changes: 2 additions & 0 deletions 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;
Expand Down

0 comments on commit c44a193

Please sign in to comment.