forked from Imagelibrary/rtems
no_bsp: Fix typo and format
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
/* Shm_isr_nobsp()
|
/**
|
||||||
|
* @file
|
||||||
*
|
*
|
||||||
* COPYRIGHT (c) 1989-1999.
|
* Template for Shared Memory Driver Interrupt Support
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* COPYRIGHT (c) 1989-2012.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -12,7 +17,7 @@
|
|||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
#include <shm_driver.h>
|
#include <shm_driver.h>
|
||||||
|
|
||||||
rtems_isr Shm_isr_nobsp( void )
|
rtems_isr Shm_isr_nobsp(rtems_vector_number ignored)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* If this routine has to do anything other than the mpisr.c
|
* If this routine has to do anything other than the mpisr.c
|
||||||
@@ -22,20 +27,15 @@ rtems_isr Shm_isr_nobsp( void )
|
|||||||
* must be cleared.
|
* must be cleared.
|
||||||
*
|
*
|
||||||
* If the generic mpisr.c satisifies your requirements, then
|
* If the generic mpisr.c satisifies your requirements, then
|
||||||
* remove this routine from your target's shmsupp/mpisb.c file.
|
* remove this routine from your target's shmsupp/mpisr.c file.
|
||||||
* Then simply install the generic Shm_isr in the Shm_setvec
|
* Then simply install the generic Shm_isr in the Shm_setvec
|
||||||
* routine below.
|
* routine below.
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Shm_setvec
|
/*
|
||||||
*
|
|
||||||
* This driver routine sets the SHM interrupt vector to point to the
|
* This driver routine sets the SHM interrupt vector to point to the
|
||||||
* driver's SHM interrupt service routine.
|
* driver's SHM interrupt service routine.
|
||||||
*
|
|
||||||
* Input parameters: NONE
|
|
||||||
*
|
|
||||||
* Output parameters: NONE
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void Shm_setvec( void )
|
void Shm_setvec( void )
|
||||||
|
|||||||
Reference in New Issue
Block a user