summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc6xx
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-18 20:55:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-18 20:55:37 +0000
commita73a977d73a4d24363d021c3d07920023353324f (patch)
tree48d8319be10c0bb4823a469c6a5d8e74c2979dd1 /c/src/lib/libcpu/powerpc/mpc6xx
parent2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-a73a977d73a4d24363d021c3d07920023353324f.tar.bz2
2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shared/include/cpu.h: Removed. * shared/include/Makefile.am: Reflect changes above. * shared/include/spr.h: Include rtems/powerpc/registers.h instead of libcpu/cpu.h. * mpc6xx/clock/c_clock.c: Reflect changes to <rtems/score/cpu.h>. * mpc6xx/exceptions/asm_utils.S: Ditto. * mpc6xx/exceptions/raw_exception.c: Ditto. * mpc6xx/mmu/mmuAsm.S: Ditto. * mpc6xx/timer/timer.c: Ditto. * mpc8260/exceptions/asm_utils.S: Ditto. * mpc8260/exceptions/raw_exception.c: Ditto. * mpc8xx/exceptions/asm_utils.S: Ditto. * mpc8xx/exceptions/raw_exception.c: Ditto. * ppc403/vectors/vectors.S: Include <asm.h> instead of "asm.h".
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc6xx')
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.c2
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/exceptions/asm_utils.S5
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c4
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/mmu/mmuAsm.S5
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c2
5 files changed, 7 insertions, 11 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.c b/c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.c
index 1805be88a2..90bd3aaaab 100644
--- a/c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.c
+++ b/c/src/lib/libcpu/powerpc/mpc6xx/clock/c_clock.c
@@ -19,11 +19,11 @@
* $Id$
*/
+#include <rtems/system.h>
#include <rtems.h>
#include <rtems/libio.h>
#include <stdlib.h> /* for atexit() */
#include <assert.h>
-#include <libcpu/cpu.h>
#include <libcpu/c_clock.h>
#include <rtems/bspIo.h> /* for printk() */
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/asm_utils.S b/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/asm_utils.S
index f046915404..6ceed5b644 100644
--- a/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/asm_utils.S
+++ b/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/asm_utils.S
@@ -10,10 +10,9 @@
*
*/
-#include <libcpu/cpu.h>
+#include <asm.h>
+#include <rtems/score/cpu.h>
#include <libcpu/io.h>
-#include <rtems/score/targopts.h>
-#include "asm.h"
.globl codemove
codemove:
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c b/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c
index 175f14b6db..7c6730a81b 100644
--- a/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c
+++ b/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c
@@ -20,12 +20,10 @@
*
* $Id$
*/
-#include <rtems/score/targopts.h>
+#include <rtems/system.h>
#include <rtems/score/ppc.h>
#include <rtems/system.h>
-#include <rtems/score/cpu.h>
#include <libcpu/raw_exception.h>
-#include <libcpu/cpu.h>
#include <libcpu/cpuIdent.h>
static rtems_raw_except_connect_data* raw_except_table;
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/mmuAsm.S b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/mmuAsm.S
index b5a76704c2..470bf45ae7 100644
--- a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/mmuAsm.S
+++ b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/mmuAsm.S
@@ -14,10 +14,9 @@
*
*/
-#include <libcpu/cpu.h>
+#include <asm.h>
+#include <rtems/score/cpu.h>
#include <libcpu/io.h>
-#include <rtems/score/targopts.h>
-#include "asm.h"
/*
* Each setdbat routine start by invalidating the DBAT as some
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c b/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c
index c722ad31ce..32f5aa33de 100644
--- a/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c
+++ b/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c
@@ -14,9 +14,9 @@
* $Id$
*/
+#include <rtems/system.h>
#include <assert.h>
#include <rtems.h>
-#include <libcpu/cpu.h>
#include <bsp.h>
rtems_unsigned64 Timer_driver_Start_time;