score: Simplify <rtems/system.h>

Drop the <rtems/score/percpu.h> include since this file exposes a lot of
implementation details.
This commit is contained in:
Sebastian Huber
2015-06-25 14:11:53 +02:00
parent 270ccc5907
commit 48fed9a56e
19 changed files with 19 additions and 7 deletions

View File

@@ -14,6 +14,7 @@
#include <rtems.h>
#include <stdlib.h>
#include <rtems/libio.h>
#include <rtems/score/percpu.h>
#include <bsp.h>
#include <libcpu/cecRegs.h>

View File

@@ -12,6 +12,7 @@
#include <rtems/score/cpu.h>
#include <rtems/score/interr.h>
#include <rtems/score/or1k-utility.h>
#include <rtems/score/percpu.h>
#include <libcpu/cache.h>
static inline void _CPU_OR1K_Cache_enable_data(void)

View File

@@ -30,6 +30,7 @@
#include <rtems/bspIo.h> /* for printk() */
#include <libcpu/powerpc-utility.h>
#include <rtems/timecounter.h>
#include <rtems/score/percpu.h>
#include <bspopts.h> /* for CLOCK_DRIVER_USE_FAST_IDLE */

View File

@@ -63,6 +63,7 @@
#ifndef DEBUG_MAIN
#include <rtems.h>
#include <rtems/bspIo.h>
#include <rtems/score/percpu.h>
#include <libcpu/cpuIdent.h>
#include <libcpu/spr.h>
#ifdef DEBUG_EXC