2007-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>

* chain.c: Reflect removal of isr.h.
	* isr.h: Remove.
	* Makefile.am: Remove isr.h.
This commit is contained in:
Ralf Corsepius
2007-12-06 17:50:24 +00:00
parent c2b3e1718f
commit b2db28d959
4 changed files with 7 additions and 35 deletions

View File

@@ -1,3 +1,9 @@
2007-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* chain.c: Reflect removal of isr.h.
* isr.h: Remove.
* Makefile.am: Remove isr.h.
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Cosmetics.

View File

@@ -8,5 +8,5 @@
noinst_PROGRAMS = bmenu2
bmenu2_SOURCES = address.h chain.c isr.h address.inl chain.h bmenu2.c base.h \
bmenu2_SOURCES = address.h chain.c address.inl chain.h bmenu2.c base.h \
chain.inl system.h

View File

@@ -11,7 +11,6 @@
#include "system.h"
#include "address.h"
#include "chain.h"
#include "isr.h"
/*PAGE
*
@@ -76,14 +75,11 @@ Chain_Node *_Chain_Get(
Chain_Control *the_chain
)
{
ISR_Level level;
Chain_Node *return_node;
return_node = NULL;
_ISR_Disable( level );
if ( !_Chain_Is_empty( the_chain ) )
return_node = _Chain_Get_first_unprotected( the_chain );
_ISR_Enable( level );
return return_node;
}
@@ -108,11 +104,7 @@ void _Chain_Append(
Chain_Node *node
)
{
ISR_Level level;
_ISR_Disable( level );
_Chain_Append_unprotected( the_chain, node );
_ISR_Enable( level );
}
/*PAGE
@@ -134,11 +126,7 @@ void _Chain_Extract(
Chain_Node *node
)
{
ISR_Level level;
_ISR_Disable( level );
_Chain_Extract_unprotected( node );
_ISR_Enable( level );
}
/*PAGE
@@ -163,11 +151,7 @@ void _Chain_Insert(
Chain_Node *node
)
{
ISR_Level level;
_ISR_Disable( level );
_Chain_Insert_unprotected( after_node, node );
_ISR_Enable( level );
}
/*PAGE

View File

@@ -1,18 +0,0 @@
/*
* COPYRIGHT (c) 1988-2002.
* On-Line Applications Research Corporation (OAR).
* All rights reserved.
*
* $Id$
*/
#ifndef __ISR_h
#define __ISR_h
typedef unsigned32 ISR_Level;
#define _ISR_Disable
#define _ISR_Enable
#endif