summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-07-01 23:39:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-07-01 23:39:13 +0000
commitfcee56c0b16536ae38f5cbb5946a458160b60dc6 (patch)
treeb36644b4f2198706bf41426936563f42425aae5e /c/src/lib/libbsp/powerpc/motorola_powerpc/openpic
parentAdded error status for bad return pointer argument on rtems_task_set_priority. (diff)
downloadrtems-fcee56c0b16536ae38f5cbb5946a458160b60dc6.tar.bz2
Patch from Eric Valette <valette@crf.canon.fr> to clean up the
previous submission.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/motorola_powerpc/openpic')
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/openpic.c18
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/openpic.h13
2 files changed, 23 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/openpic.c b/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/openpic.c
index 94807157ff..bc16be62f5 100644
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/openpic.c
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/openpic.c
@@ -1,14 +1,20 @@
/*
- * arch/ppc/kernel/openpic.c -- OpenPIC Interrupt Handling
+ * openpic.c -- OpenPIC Interrupt Handling
*
* Copyright (C) 1997 Geert Uytterhoeven
*
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file COPYING in the main directory of this archive
- * for more details.
+ * Modified to compile in RTEMS development environment
+ * by Eric Valette
+ *
+ * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr
+ *
+ * The license and distribution terms for this file may be
+ * found in found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
*/
-
/*
* Note: Interprocessor Interrupt (IPI) and Timer support is incomplete
*/
@@ -20,8 +26,6 @@
#include <libcpu/io.h>
#include <libcpu/byteorder.h>
-/* #include <asm/irq.h> */
-
#define NULL 0
#define REGISTER_DEBUG
#undef REGISTER_DEBUG
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/openpic.h b/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/openpic.h
index fc2a2ff574..97faec1e9d 100644
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/openpic.h
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/openpic.h
@@ -1,5 +1,5 @@
/*
- * linux/openpic.h -- OpenPIC definitions
+ * openpic.h -- OpenPIC definitions
*
* Copyright (C) 1997 Geert Uytterhoeven
*
@@ -21,6 +21,17 @@
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
+ *
+ * Modified to compile in RTEMS development environment
+ * by Eric Valette
+ *
+ * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr
+ *
+ * The license and distribution terms for this file may be
+ * found in found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
*/
#ifndef _RTEMS_OPENPIC_H