diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-06-14 15:52:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-06-14 15:52:24 +0000 |
commit | 61bd030179f252d14f9639cf4921eb4eee07b5ef (patch) | |
tree | eca78226b814ad9e50f0d73fbe00ffaf67ab61e0 /c/src/lib/libcpu/powerpc/mpc8xx/cpm | |
parent | Must now pull in cache management code from libcpu. (diff) | |
download | rtems-61bd030179f252d14f9639cf4921eb4eee07b5ef.tar.bz2 |
Moved PowerPC cache management code to libcpu. Also compiled
mpc8xx libcpu support for the first time and remove includes
of bsp.h, references to BSP_Configuration, and Cpu_table. All
of these can be obtained directly from RTEMS now.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc8xx/cpm/cp.c | 7 | ||||
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/cpm/cp.c b/c/src/lib/libcpu/powerpc/mpc8xx/cpm/cp.c index 235e4bafc3..b1ca0eed6b 100644 --- a/c/src/lib/libcpu/powerpc/mpc8xx/cpm/cp.c +++ b/c/src/lib/libcpu/powerpc/mpc8xx/cpm/cp.c @@ -12,13 +12,14 @@ * Copyright (c) 1999, National Research Council of Canada */ -#include <bsp.h> -#include <rtems/rtems/intr.h> -#include <rtems/error.h> +#include <rtems.h> +#include <mpc8xx.h> +#include <mpc8xx/cpm.h> /* * Send a command to the CPM RISC processer */ + void m8xx_cp_execute_cmd( unsigned16 command ) { rtems_unsigned16 lvl; diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c b/c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c index 985b5b5bd1..825e591351 100644 --- a/c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c +++ b/c/src/lib/libcpu/powerpc/mpc8xx/cpm/dpram.c @@ -13,9 +13,9 @@ * Copyright (c) 1999, National Research Council of Canada */ -#include <bsp.h> -#include <rtems/rtems/intr.h> -#include <rtems/error.h> +#include <rtems.h> +#include <mpc8xx.h> +#include <mpc8xx/cpm.h> /* * Allocation order: |