forked from Imagelibrary/rtems
score: Merge sysstate API into one file
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
#include <bsp.h>
|
||||
#include <i2c.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
|
||||
/* i2c_transfer_sema_done_func --
|
||||
* This function called from I2C driver layer to signal that I2C
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
*/
|
||||
|
||||
#include <bsp.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
#include "../include/i2c.h"
|
||||
|
||||
/* i2c_transfer_sema_done_func --
|
||||
|
||||
@@ -77,6 +77,7 @@
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/error.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
#include <bsp.h>
|
||||
#include <bsp/irq.h>
|
||||
#include "../include/mpc5200.h"
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
#include <libchip/i2c-ds1621.h>
|
||||
#include <bsp/mpc8540_i2c_busdrv.h>
|
||||
#include <rtems/libio.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
#include <libcpu/spr.h>
|
||||
#include <libcpu/io.h>
|
||||
#include <rtems/bspIo.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
|
||||
#include "mpc8540_i2c_busdrv.h"
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@ field = type, length, { data }
|
||||
|
||||
#include <unistd.h>
|
||||
#include <rtems.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
#include <string.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <bsp.h>
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
*/
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "gdb_if.h"
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <rtems/score/apimutex.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
|
||||
#ifdef BSP_INTERRUPT_USE_INDEX_TABLE
|
||||
bsp_interrupt_handler_index_type bsp_interrupt_handler_index_table
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/libio.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <libchip/serial.h>
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/rtc.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
#include <libchip/rtc.h>
|
||||
#include <libchip/ds1375-rtc.h>
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/libio.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <libchip/serial.h>
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/libio.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <libchip/serial.h>
|
||||
|
||||
Reference in New Issue
Block a user