Skip to content

Commit d190dec

Browse files
authored
Mark code inspired by and derived from code contributed to RTEMS by OAR. (#210)
* use standard github name for license * Add licensing and attribution for code derived from RTEMS * mark files identified as having code inspired by RTEMS
1 parent 248d069 commit d190dec

File tree

10 files changed

+105
-20
lines changed

10 files changed

+105
-20
lines changed

LICENSE

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
libogc copyright (C) 2004 - 2025
2+
Michael Wiedenbauer (shagkur)
3+
Dave Murphy (WinterMute)
4+
5+
This software is provided 'as-is', without any express or implied
6+
warranty. In no event will the authors be held liable for any
7+
damages arising from the use of this software.
8+
9+
Permission is granted to anyone to use this software for any
10+
purpose, including commercial applications, and to alter it and
11+
redistribute it freely, subject to the following restrictions:
12+
13+
1. The origin of this software must not be misrepresented; you
14+
must not claim that you wrote the original software. If you use
15+
this software in a product, an acknowledgment in the product
16+
documentation would be appreciated but is not required.
17+
2. Altered source versions must be plainly marked as such, and
18+
must not be misrepresented as being the original software.
19+
3. This notice may not be removed or altered from any source
20+
distribution.
21+
22+
Portions of this library, notably the threading code, were inspired by and
23+
derived from code written for the RTEMS project (https://www.rtems.org/) by
24+
On-Line Applications Research Corporation.
25+
26+
COPYRIGHT (c) 1989-1999 On-Line Applications Research Corporation (OAR).
27+
Copyright (C) 1999 Eric Valette (eric.valette@free.fr)
28+
29+
30+
Redistribution and use in source and binary forms, with or without
31+
modification, are permitted provided that the following conditions
32+
are met:
33+
1. Redistributions of source code must retain the above copyright
34+
notice, this list of conditions and the following disclaimer.
35+
2. Redistributions in binary form must reproduce the above copyright
36+
notice, this list of conditions and the following disclaimer in the
37+
documentation and/or other materials provided with the distribution.
38+
39+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
40+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
41+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
42+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
43+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
44+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
45+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
46+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
47+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
48+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
49+
POSSIBILITY OF SUCH DAMAGE.

gc/ogc/lwp_states.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
3+
Contains code inspired by and derived from code written for the RTEMS project.
4+
See LICENSE for more information.
5+
6+
*/
7+
18
#ifndef ___LWP_STATES_H__
29
#define ___LWP_STATES_H__
310

gc/ogc/machine/processor.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
3+
Contains code inspired by and derived from code written for the RTEMS project.
4+
See LICENSE for more information.
5+
6+
*/
7+
18
#ifndef __PROCESSOR_H__
29
#define __PROCESSOR_H__
310

libogc/lwp_messages.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
3+
Contains code inspired by and derived from code written for the RTEMS project.
4+
See LICENSE for more information.
5+
6+
*/
7+
18
#include <stdlib.h>
29
#include "asm.h"
310
#include "lwp_messages.h"

libogc/lwp_mutex.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
3+
Contains code inspired by and derived from code written for the RTEMS project.
4+
See LICENSE for more information.
5+
6+
*/
7+
18
#include "asm.h"
29
#include "lwp_mutex.h"
310

libogc/lwp_threadq.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
3+
Contains code inspired by and derived from code written for the RTEMS project.
4+
See LICENSE for more information.
5+
6+
*/
7+
18
#include <stdio.h>
29

310
#include "asm.h"

libogc/lwp_threads.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
3+
Contains code inspired by and derived from code written for the RTEMS project.
4+
See LICENSE for more information.
5+
6+
*/
7+
18
#include <stdlib.h>
29
#include <stdio.h>
310
#include <string.h>

libogc/lwp_watchdog.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
3+
Contains code inspired by and derived from code written for the RTEMS project.
4+
See LICENSE for more information.
5+
6+
*/
7+
18
#include <stdlib.h>
29
#include <limits.h>
310
#include "asm.h"

libogc/lwp_wkspace.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
3+
Contains code inspired by and derived from code written for the RTEMS project.
4+
See LICENSE for more information.
5+
6+
*/
7+
18
#include <stdlib.h>
29
#include <system.h>
310
#include <string.h>

libogc_license.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)