Skip to content

Commit

Permalink
Fix nasa#520, Update license header for Apache 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Jun 23, 2020
2 parents 4816c71 + 51234ac commit ef7b0c6
Show file tree
Hide file tree
Showing 495 changed files with 227 additions and 6,090 deletions.
12 changes: 0 additions & 12 deletions default_config.cmake
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
#
#
# Copyright (c) 2020, United States government as represented by the
# administrator of the National Aeronautics Space Administration.
# All rights reserved. This software was created at NASA Goddard
# Space Flight Center pursuant to government contracts.
#
# This is governed by the NASA Open Source Agreement and may be used,
# distributed and modified only according to the terms of that agreement.
#
#

##########################################################################
#
# Default configuration options for OSAL
Expand Down
22 changes: 6 additions & 16 deletions src/bsp/generic-linux/src/bsp_console.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
/******************************************************************************
** File: bsp_console.c
**
**
** This is governed by the NASA Open Source Agreement and may be used,
** distributed and modified only pursuant to the terms of that agreement.
**
** Copyright (c) 2004-2006, United States government as represented by the
** administrator of the National Aeronautics Space Administration.
** All rights reserved.
**
**
** Purpose:
** OSAL BSP debug console abstraction
**
******************************************************************************/
/*
* File: bsp_console.c
*
* Purpose:
* OSAL BSP debug console abstraction
*/

#include <string.h>
#include <unistd.h>
Expand Down
28 changes: 9 additions & 19 deletions src/bsp/generic-linux/src/bsp_start.c
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
/******************************************************************************
** File: bsp_start.c
**
**
** This is governed by the NASA Open Source Agreement and may be used,
** distributed and modified only pursuant to the terms of that agreement.
**
** Copyright (c) 2004-2006, United States government as represented by the
** administrator of the National Aeronautics Space Administration.
** All rights reserved.
**
**
** Purpose:
** OSAL BSP main entry point.
**
** History:
** 2005/07/26 A. Cudmore | Initial version for linux
**
******************************************************************************/
/*
* File: bsp_start.c
*
* Purpose:
* OSAL BSP main entry point.
*
* History:
* 2005/07/26 A. Cudmore | Initial version for linux
*/

#include <string.h>
#include <unistd.h>
Expand Down
22 changes: 6 additions & 16 deletions src/bsp/generic-linux/src/generic_linux_bsp_internal.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
/******************************************************************************
** File: generic_linux_bsp_internal.h
**
**
** This is governed by the NASA Open Source Agreement and may be used,
** distributed and modified only pursuant to the terms of that agreement.
**
** Copyright (c) 2004-2006, United States government as represented by the
** administrator of the National Aeronautics Space Administration.
** All rights reserved.
**
**
** Purpose:
** Header file for internal data to the LINUX BSP
**
******************************************************************************/
/*
* File: generic_linux_bsp_internal.h
*
* Purpose:
* Header file for internal data to the LINUX BSP
*/

#ifndef GENERIC_LINUX_BSP_INTERNAL_H_
#define GENERIC_LINUX_BSP_INTERNAL_H_
Expand Down
22 changes: 6 additions & 16 deletions src/bsp/generic-vxworks/src/bsp_console.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
/******************************************************************************
** File: bsp_console.c
**
**
** This is governed by the NASA Open Source Agreement and may be used,
** distributed and modified only pursuant to the terms of that agreement.
**
** Copyright (c) 2004-2006, United States government as represented by the
** administrator of the National Aeronautics Space Administration.
** All rights reserved.
**
**
** Purpose:
** OSAL BSP debug console abstraction
**
******************************************************************************/
/*
* File: bsp_console.c
*
* Purpose:
* OSAL BSP debug console abstraction
*/

#include <string.h>
#include <unistd.h>
Expand Down
23 changes: 6 additions & 17 deletions src/bsp/generic-vxworks/src/bsp_start.c
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
/******************************************************************************
** File: bsp_start.c
**
** This is governed by the NASA Open Source Agreement and may be used,
** distributed and modified only pursuant to the terms of that agreement.
**
** Copyright (c) 2004-2006, United States government as represented by the
** administrator of the National Aeronautics Space Administration.
** All rights reserved.
**
** Purpose:
**
** OSAL main entry point.
**
** History:
**
******************************************************************************/
/*
* File: bsp_start.c
*
* Purpose:
* OSAL main entry point.
*/

/*
** Include Files
Expand Down
22 changes: 6 additions & 16 deletions src/bsp/generic-vxworks/src/generic_vxworks_bsp_internal.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
/******************************************************************************
** File: generic_vxworks_bsp_internal.h
**
**
** This is governed by the NASA Open Source Agreement and may be used,
** distributed and modified only pursuant to the terms of that agreement.
**
** Copyright (c) 2004-2006, United States government as represented by the
** administrator of the National Aeronautics Space Administration.
** All rights reserved.
**
**
** Purpose:
** Header file for internal data to the VxWorks BSP
**
******************************************************************************/
/*
* File: generic_vxworks_bsp_internal.h
*
* Purpose:
* Header file for internal data to the VxWorks BSP
*/

#ifndef GENERIC_VXWORKS_BSP_INTERNAL_H_
#define GENERIC_VXWORKS_BSP_INTERNAL_H_
Expand Down
22 changes: 6 additions & 16 deletions src/bsp/pc-rtems/src/bsp_console.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
/******************************************************************************
** File: bsp_console.c
**
**
** This is governed by the NASA Open Source Agreement and may be used,
** distributed and modified only pursuant to the terms of that agreement.
**
** Copyright (c) 2004-2006, United States government as represented by the
** administrator of the National Aeronautics Space Administration.
** All rights reserved.
**
**
** Purpose:
** OSAL BSP debug console abstraction
**
******************************************************************************/
/*
* File: bsp_console.c
*
* Purpose:
* OSAL BSP debug console abstraction
*/

#include <string.h>
#include <unistd.h>
Expand Down
22 changes: 6 additions & 16 deletions src/bsp/pc-rtems/src/bsp_start.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
/******************************************************************************
** File: bsp_start.c
**
**
** This is governed by the NASA Open Source Agreement and may be used,
** distributed and modified only pursuant to the terms of that agreement.
**
** Copyright (c) 2004-2006, United States government as represented by the
** administrator of the National Aeronautics Space Administration.
** All rights reserved.
**
**
** Purpose:
** OSAL BSP main entry point.
**
******************************************************************************/
/*
* File: bsp_start.c
*
* Purpose:
* OSAL BSP main entry point.
*/

#define _USING_RTEMS_INCLUDES_

Expand Down
22 changes: 6 additions & 16 deletions src/bsp/pc-rtems/src/pcrtems_bsp_internal.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
/******************************************************************************
** File: pcrtems_bsp_internal.h
**
**
** This is governed by the NASA Open Source Agreement and may be used,
** distributed and modified only pursuant to the terms of that agreement.
**
** Copyright (c) 2004-2006, United States government as represented by the
** administrator of the National Aeronautics Space Administration.
** All rights reserved.
**
**
** Purpose:
** Header file for internal data to the PC-RTEMS BSP
**
******************************************************************************/
/*
* File: pcrtems_bsp_internal.h
*
* Purpose:
* Header file for internal data to the PC-RTEMS BSP
*/

#ifndef _PCRTEMS_BSP_INTERNAL_H_
#define _PCRTEMS_BSP_INTERNAL_H_
Expand Down
10 changes: 0 additions & 10 deletions src/bsp/shared/inc/bsp-impl.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
/*
* Copyright (c) 2018, United States government as represented by the
* administrator of the National Aeronautics Space Administration.
* All rights reserved. This software was created at NASA Glenn
* Research Center pursuant to government contracts.
*
* This is governed by the NASA Open Source Agreement and may be used,
* distributed and modified only according to the terms of that agreement.
*/

/**
* \file bsp-impl.h
* \author [email protected]
Expand Down
30 changes: 10 additions & 20 deletions src/bsp/shared/src/bsp_default_app_run.c
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
/******************************************************************************
** File: bsp_app_run.c
**
**
** This is governed by the NASA Open Source Agreement and may be used,
** distributed and modified only pursuant to the terms of that agreement.
**
** Copyright (c) 2004-2015, United States government as represented by the
** administrator of the National Aeronautics Space Administration.
** All rights reserved.
**
**
** Purpose:
** Application run default implementation.
**
** NOTE: This is isolated in a separate compilation unit, so that a user
** application may directly provide an OS_Application_Run() implementation
** which will override this default.
**
******************************************************************************/
/*
* File: bsp_app_run.c
*
* Purpose:
* Application run default implementation.
*
* NOTE: This is isolated in a separate compilation unit, so that a user
* application may directly provide an OS_Application_Run() implementation
* which will override this default.
*/

#include "osapi.h"
#include "bsp-impl.h"
Expand Down
30 changes: 10 additions & 20 deletions src/bsp/shared/src/bsp_default_app_startup.c
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
/******************************************************************************
** File: bsp_app_startup.c
**
**
** This is governed by the NASA Open Source Agreement and may be used,
** distributed and modified only pursuant to the terms of that agreement.
**
** Copyright (c) 2004-2015, United States government as represented by the
** administrator of the National Aeronautics Space Administration.
** All rights reserved.
**
**
** Purpose:
** Application startup default implementation.
**
** NOTE: This is isolated in a separate compilation unit, so that a user
** application may directly provide an OS_Application_Startup() implementation
** which will override this default.
**
******************************************************************************/
/*
* File: bsp_app_startup.c
*
* Purpose:
* Application startup default implementation.
*
* NOTE: This is isolated in a separate compilation unit, so that a user
* application may directly provide an OS_Application_Startup() implementation
* which will override this default.
*/

#include <stdlib.h>
#include "osapi.h"
Expand Down
30 changes: 10 additions & 20 deletions src/bsp/shared/src/bsp_default_symtab.c
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
/******************************************************************************
** File: bsp_symtab.c
**
**
** This is governed by the NASA Open Source Agreement and may be used,
** distributed and modified only pursuant to the terms of that agreement.
**
** Copyright (c) 2004-2015, United States government as represented by the
** administrator of the National Aeronautics Space Administration.
** All rights reserved.
**
**
** Purpose:
** Application static symbol table default implementation.
**
** NOTE: This is isolated in a separate compilation unit, so that a user
** application may directly provide an OS_STATIC_SYMBOL_TABLE definition
** which will override this default.
**
******************************************************************************/
/*
* File: bsp_symtab.c
*
* Purpose:
* Application static symbol table default implementation.
*
* NOTE: This is isolated in a separate compilation unit, so that a user
* application may directly provide an OS_STATIC_SYMBOL_TABLE definition
* which will override this default.
*/

#include "osapi.h"
#include "bsp-impl.h"
Expand Down
Loading

0 comments on commit ef7b0c6

Please sign in to comment.