bsp/leon3: Remove <leon.h> include form <bsp.h>

The <leon.h> header file contains a lot of implementation details.  Hide them
from <bsp.h>.
This commit is contained in:
Sebastian Huber
2021-07-19 15:43:11 +02:00
parent 36655b870c
commit 1577a48369
7 changed files with 9 additions and 3 deletions

View File

@@ -18,7 +18,7 @@
*/
#include <bsp.h>
#include <leon.h>
#include <rtems/btimer.h>
#if defined(RTEMS_MULTIPROCESSING)

View File

@@ -28,6 +28,7 @@
#include <bsp.h>
#include <bsp/fatal.h>
#include <leon.h>
#include <grlib/apbuart_termios.h>
#include <rtems/console.h>
#include <string.h>

View File

@@ -32,7 +32,6 @@
#include <bsp/default-initial-extension.h>
#include <rtems.h>
#include <leon.h>
#include <rtems/irq-extension.h>
#ifdef __cplusplus

View File

@@ -20,6 +20,9 @@
#ifndef __tm27_h
#define __tm27_h
#include <bsp.h>
#include <leon.h>
/*
* Define the interrupt mechanism for Time Test 27
*

View File

@@ -23,6 +23,8 @@
#include <bsp/bootcard.h>
#include <rtems/score/smpimpl.h>
#include <leon.h>
void bsp_fatal_extension(
rtems_fatal_source source,
bool always_set_to_false,

View File

@@ -14,6 +14,7 @@
*/
#include <bsp.h>
#include <leon.h>
void rtems_bsp_delay(int usecs)
{

View File

@@ -33,7 +33,7 @@
* European Space Agency.
*/
#include <bsp.h>
#include <leon.h>
rtems_isr_entry set_vector( /* returns old vector */
rtems_isr_entry handler, /* isr routine */