summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/dmv177
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-21 10:43:04 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-21 10:43:04 +0000
commit6128a4aa5e791ed4e0a655bfd346a52d92da7883 (patch)
treeaf53ca3f67ce405b6fbc6c98399c8e0c87e01a9e /c/src/lib/libbsp/powerpc/dmv177
parent2004-04-20 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-6128a4aa5e791ed4e0a655bfd346a52d92da7883.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/dmv177')
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/clock/clock.c24
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/console/conscfg.c4
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/console/debugio.c4
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/include/bsp.h12
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h24
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/scv64/scv64.c106
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c6
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/start/start.S2
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/startup/bspstart.c8
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/startup/genpvec.c44
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/startup/setvec.c2
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/timer/timer.c10
12 files changed, 123 insertions, 123 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/clock/clock.c b/c/src/lib/libbsp/powerpc/dmv177/clock/clock.c
index b3a1fc1c29..b768a20541 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/clock/clock.c
+++ b/c/src/lib/libbsp/powerpc/dmv177/clock/clock.c
@@ -48,11 +48,11 @@ rtems_isr_entry Old_ticker;
void Clock_exit( void );
-
+
/*
* These are set by clock driver during its init
*/
-
+
rtems_device_major_number rtems_clock_major = ~0;
rtems_device_minor_number rtems_clock_minor;
@@ -142,11 +142,11 @@ void Install_clock(
void Clock_exit( void )
{
- /* nothing to do */;
+ /* nothing to do */;
/* do not restore old vector */
}
-
+
/*PAGE
*
* Clock_initialize
@@ -174,17 +174,17 @@ rtems_device_driver Clock_initialize(
BSP_Configuration.microseconds_per_tick;
Install_clock( (rtems_isr_entry) Clock_isr );
-
+
/*
* make major/minor avail to others such as shared memory driver
*/
-
+
rtems_clock_major = major;
rtems_clock_minor = minor;
-
+
return RTEMS_SUCCESSFUL;
}
-
+
/* PAGE
*
* Clock_control
@@ -210,15 +210,15 @@ rtems_device_driver Clock_control(
{
uint32_t isrlevel;
rtems_libio_ioctl_args_t *args = pargp;
-
+
if (args == 0)
goto done;
-
+
/*
* This is hokey, but until we get a defined interface
* to do this, it will just be this simple...
*/
-
+
if (args->command == rtems_build_name('I', 'S', 'R', ' '))
{
Clock_isr( CLOCK_VECTOR, pargp );
@@ -229,7 +229,7 @@ rtems_device_driver Clock_control(
(void) set_vector( args->buffer, CLOCK_VECTOR, 1 );
rtems_interrupt_enable( isrlevel );
}
-
+
done:
return RTEMS_SUCCESSFUL;
}
diff --git a/c/src/lib/libbsp/powerpc/dmv177/console/conscfg.c b/c/src/lib/libbsp/powerpc/dmv177/console/conscfg.c
index 80f12e9954..106819a7aa 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/console/conscfg.c
+++ b/c/src/lib/libbsp/powerpc/dmv177/console/conscfg.c
@@ -32,7 +32,7 @@
* all others being given the name indicated.
*/
-mc68681_baud_t
+mc68681_baud_t
dmv177_mc68681_baud_table[4][RTEMS_TERMIOS_NUMBER_BAUD_RATES] = {
{ /* ACR[7] = 0, X = 0 */
MC68681_BAUD_NOT_VALID, /* B0 */
@@ -125,7 +125,7 @@ mc68681_baud_t
};
#define MC68681_PORT_CONFIG \
- (MC68681_DATA_BAUD_RATE_SET_1|MC68681_XBRG_ENABLED)
+ (MC68681_DATA_BAUD_RATE_SET_1|MC68681_XBRG_ENABLED)
/*
* Based on BSP configuration information decide whether to do polling IO
diff --git a/c/src/lib/libbsp/powerpc/dmv177/console/debugio.c b/c/src/lib/libbsp/powerpc/dmv177/console/debugio.c
index bc4f97a69d..6b3234ef06 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/console/debugio.c
+++ b/c/src/lib/libbsp/powerpc/dmv177/console/debugio.c
@@ -38,7 +38,7 @@
extern console_data Console_Port_Data[];
extern rtems_device_minor_number Console_Port_Minor;
-
+
/* PAGE
*
* DEBUG_puts
@@ -95,7 +95,7 @@ void DEBUG_puth(
unsigned long i,d;
uint32_t Irql;
void (*poll)(int minor, char cChar);
-
+
poll = Console_Port_Tbl[Console_Port_Minor].pDeviceFns->deviceWritePolled;
rtems_interrupt_disable(Irql);
diff --git a/c/src/lib/libbsp/powerpc/dmv177/include/bsp.h b/c/src/lib/libbsp/powerpc/dmv177/include/bsp.h
index cf003774c9..1c37e843b2 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/dmv177/include/bsp.h
@@ -25,7 +25,7 @@ extern "C" {
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 4
#define CONFIGURE_INTERRUPT_STACK_MEMORY (12 * 1024)
-
+
#ifdef ASM
/* Definition of where to store registers in alignment handler */
#define ALIGN_REGS 0x0140
@@ -118,15 +118,15 @@ int rtems_dmv177_sonic_driver_attach(struct rtems_bsdnet_ifconfig *config);
/*
* Device Driver Table Entries
*/
-
+
/*
* NOTE: Use the standard Console driver entry
*/
-
+
/*
* NOTE: Use the standard Clock driver entry
*/
-
+
/*
* Information placed in the linkcmds file.
@@ -147,12 +147,12 @@ extern int end; /* last address in the program */
/*
* How many libio files we want
*/
-
+
#define BSP_LIBIO_MAX_FDS 20
/* functions */
-/*
+/*
* genvec.c
*/
rtems_isr_entry set_EE_vector(
diff --git a/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h b/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h
index f22feb636d..4a54fd7573 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h
+++ b/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h
@@ -2,9 +2,9 @@
*
* This include file contains information pertaining to the DMV170.
*
- * NOTE: Other than where absolutely required, this version currently
- * supports only the peripherals and bits used by the basic board
- * support package. This includes at least significant pieces of
+ * NOTE: Other than where absolutely required, this version currently
+ * supports only the peripherals and bits used by the basic board
+ * support package. This includes at least significant pieces of
* the following items:
*
* + UART Channels A and B
@@ -18,7 +18,7 @@
*
* $Id$
*/
-
+
#ifndef _INCLUDE_DMV170_h
#define _INCLUDE_DMV170_h
@@ -59,7 +59,7 @@ extern "C" {
#define SONIC_BASE_ADDRESS DMV170_SONIC_ADDR
#define SONIC_VECTOR DMV170_ETHERNET_IRQ
-/* base address for the SCC (85C30) */
+/* base address for the SCC (85C30) */
#define Z85C30_ADDR 0xfb000010
#define Z85C30_CTRL_A 0xfb000010
#define Z85C30_DATA_A 0xfb000018
@@ -127,7 +127,7 @@ extern "C" {
#define DMV170_LOWER_STATUS_LED_CONTROL_MASK 0x2000
#define DMV170_LOWER_STATUS_LED_IS_OFF 0x2000
#define DMV170_LOWER_STATUS_LED_IS_ON 0x0000
-#ifdef DMV176
+#ifdef DMV176
/* The following are not available for the DMV171 */
#define DMV170_RAM_TYPE_MASK 0x4000
#define DMV170_RAM_TYPE_IS_DRAM 0x4000
@@ -136,7 +136,7 @@ extern "C" {
#define DMV170_IACK_VECTOR_AUTOVECTOR_IS_VECTOR 0x8000
#define DMV170_IACK_VECTOR_AUTOVECTOR_IS_NOT_VECTOR 0x0000
#endif
-
+
/*
* The following defines the bits in the Timer Control Register.
*/
@@ -220,7 +220,7 @@ extern "C" {
* DUART Baud Rate Definitions.
*/
-#define DMV170_DUART_9621 MC68681_BAUD_RATE_MASK_600 /* close to 9600 */
+#define DMV170_DUART_9621 MC68681_BAUD_RATE_MASK_600 /* close to 9600 */
#define DMV170_RTC_FREQUENCY 0x0000
@@ -248,10 +248,10 @@ extern "C" {
#define DMV170_ETHERNET_IRQ DMV170_LIRQ5
#define DMV170_SCSI_IRQ DMV170_LIRQ5
#define DMV170_SCC_IRQ DMV170_LIRQ5
-#define DMV170_MEZZANINE_IRQ_0 DMV170_LIRQ4
+#define DMV170_MEZZANINE_IRQ_0 DMV170_LIRQ4
#define DMV170_TICK_IRQ DMV170_LIRQ3
-#define DMV170_LOCATION_MON_IRQ DMV170_LIRQ2
-#define DMV170_SCV64_IRQ DMV170_LIRQ1
+#define DMV170_LOCATION_MON_IRQ DMV170_LIRQ2
+#define DMV170_SCV64_IRQ DMV170_LIRQ1
#define DMV170_RTC_IRQ DMV170_LIRQ0
#define DMV170_ACFAIL_IRQ DMV170_L7IACF
@@ -283,6 +283,6 @@ uint32_t SCV64_Get_Interrupt_Enable();
#ifdef __cplusplus
}
#endif
-
+
#endif /* !_INCLUDE_DMV170_h */
/* end of include file */
diff --git a/c/src/lib/libbsp/powerpc/dmv177/scv64/scv64.c b/c/src/lib/libbsp/powerpc/dmv177/scv64/scv64.c
index 5e67698b3a..e7e357d0d2 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/scv64/scv64.c
+++ b/c/src/lib/libbsp/powerpc/dmv177/scv64/scv64.c
@@ -14,23 +14,23 @@
typedef struct {
/* DARF Registers */
- volatile uint32_t DMALAR; /* 0x00 */
- volatile uint32_t DMAVAR; /* 0x04 */
- volatile uint32_t DMATC; /* 0x08 */
- volatile uint32_t DCSR; /* 0x0c */
- volatile uint32_t VMEBAR; /* 0x10 */
- volatile uint32_t RXDATA; /* 0x14 */
- volatile uint32_t RXADDR; /* 0x18 */
- volatile uint32_t RXCTL; /* 0x1c */
- volatile uint32_t BUSSEL; /* 0x20 */
- volatile uint32_t IVECT; /* 0x24 */
- volatile uint32_t APBR; /* 0x28 */
- volatile uint32_t TXDATA; /* 0x2c */
- volatile uint32_t TXADDR; /* 0x30 */
- volatile uint32_t TXCTL; /* 0x34 */
- volatile uint32_t LMFIFO; /* 0x38 */
- volatile uint32_t MODE; /* 0x3c */
- volatile uint32_t SA64BAR; /* 0x40 */
+ volatile uint32_t DMALAR; /* 0x00 */
+ volatile uint32_t DMAVAR; /* 0x04 */
+ volatile uint32_t DMATC; /* 0x08 */
+ volatile uint32_t DCSR; /* 0x0c */
+ volatile uint32_t VMEBAR; /* 0x10 */
+ volatile uint32_t RXDATA; /* 0x14 */
+ volatile uint32_t RXADDR; /* 0x18 */
+ volatile uint32_t RXCTL; /* 0x1c */
+ volatile uint32_t BUSSEL; /* 0x20 */
+ volatile uint32_t IVECT; /* 0x24 */
+ volatile uint32_t APBR; /* 0x28 */
+ volatile uint32_t TXDATA; /* 0x2c */
+ volatile uint32_t TXADDR; /* 0x30 */
+ volatile uint32_t TXCTL; /* 0x34 */
+ volatile uint32_t LMFIFO; /* 0x38 */
+ volatile uint32_t MODE; /* 0x3c */
+ volatile uint32_t SA64BAR; /* 0x40 */
volatile uint32_t MA64BAR; /* 0x44 */
volatile uint32_t LAG; /* 0x48 */
volatile uint32_t DMAVTC; /* 0x4c */
@@ -39,38 +39,38 @@ typedef struct {
volatile uint32_t reserved_50_7F[12];
/* ACC Registers */
- volatile uint8_t STAT0_pad[3]; /* 0x80 */
- volatile uint8_t STAT0;
- volatile uint8_t STAT1_pad[3]; /* 0x84 */
- volatile uint8_t STAT1;
- volatile uint8_t GENCTL_pad[3]; /* 0x88 */
- volatile uint8_t GENCTL;
- volatile uint8_t VINT_pad[3]; /* 0x8c */
- volatile uint8_t VINT;
- volatile uint8_t VREQ_pad[3]; /* 0x90 */
- volatile uint8_t VREQ;
- volatile uint8_t VARB_pad[3]; /* 0x94 */
- volatile uint8_t VARB;
- volatile uint8_t ID_pad[3]; /* 0x98 */
- volatile uint8_t ID;
- volatile uint8_t NA_pad[3]; /* 0x9c */
- volatile uint8_t NA;
- volatile uint8_t _7IS_pad[3]; /* 0xa0 */
- volatile uint8_t _7IS;
- volatile uint8_t LIS_pad[3]; /* 0xa4 */
- volatile uint8_t LIS;
- volatile uint8_t UIE_pad[3]; /* 0xa8 */
- volatile uint8_t UIE;
- volatile uint8_t LIE_pad[3]; /* 0xac */
- volatile uint8_t LIE;
- volatile uint8_t VIE_pad[3]; /* 0xb0 */
- volatile uint8_t VIE;
- volatile uint8_t IC10_pad[3]; /* 0xb4 */
- volatile uint8_t IC10;
- volatile uint8_t IC32_pad[3]; /* 0xb8 */
- volatile uint8_t IC32;
- volatile uint8_t IC54_pad[3]; /* 0xbc */
- volatile uint8_t IC54;
+ volatile uint8_t STAT0_pad[3]; /* 0x80 */
+ volatile uint8_t STAT0;
+ volatile uint8_t STAT1_pad[3]; /* 0x84 */
+ volatile uint8_t STAT1;
+ volatile uint8_t GENCTL_pad[3]; /* 0x88 */
+ volatile uint8_t GENCTL;
+ volatile uint8_t VINT_pad[3]; /* 0x8c */
+ volatile uint8_t VINT;
+ volatile uint8_t VREQ_pad[3]; /* 0x90 */
+ volatile uint8_t VREQ;
+ volatile uint8_t VARB_pad[3]; /* 0x94 */
+ volatile uint8_t VARB;
+ volatile uint8_t ID_pad[3]; /* 0x98 */
+ volatile uint8_t ID;
+ volatile uint8_t NA_pad[3]; /* 0x9c */
+ volatile uint8_t NA;
+ volatile uint8_t _7IS_pad[3]; /* 0xa0 */
+ volatile uint8_t _7IS;
+ volatile uint8_t LIS_pad[3]; /* 0xa4 */
+ volatile uint8_t LIS;
+ volatile uint8_t UIE_pad[3]; /* 0xa8 */
+ volatile uint8_t UIE;
+ volatile uint8_t LIE_pad[3]; /* 0xac */
+ volatile uint8_t LIE;
+ volatile uint8_t VIE_pad[3]; /* 0xb0 */
+ volatile uint8_t VIE;
+ volatile uint8_t IC10_pad[3]; /* 0xb4 */
+ volatile uint8_t IC10;
+ volatile uint8_t IC32_pad[3]; /* 0xb8 */
+ volatile uint8_t IC32;
+ volatile uint8_t IC54_pad[3]; /* 0xbc */
+ volatile uint8_t IC54;
/* Utility Registers */
volatile uint32_t MISC;
volatile uint32_t delay_line[3];
@@ -90,7 +90,7 @@ typedef struct {
#define LOCAL_INTERRUPT_ENABLE_4 0x10
#define LOCAL_INTERRUPT_ENABLE_5 0x20
-/*
+/*
* IC54 Register
*/
#define AUTOVECTOR_5 0x80
@@ -110,7 +110,7 @@ SCV64_Registers *SCV64 = (void *)DMV170_SCV64_BASE_ADDRESS;
void SCV64_Initialize() {
SCV64->LIE = 0;
}
-
+
/*PAGE
*
* SCV64_Generate_DUART_Interrupts
@@ -121,7 +121,7 @@ void SCV64_Initialize() {
void SCV64_Generate_DUART_Interrupts() {
uint8_t data;
-
+
/*
* Set Local Interrupt 5 enable
*/
@@ -146,7 +146,7 @@ void SCV64_Generate_DUART_Interrupts() {
uint32_t SCV64_Get_Interrupt()
{
uint8_t data;
-
+
/*
* Put the LIS data into the lower byte of the result
*/
diff --git a/c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c b/c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c
index f769f4e635..faf189a627 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c
+++ b/c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c
@@ -97,8 +97,8 @@ uint32_t dmv177_sonic_read_register(
#endif
sonic_configuration_t dmv177_sonic_configuration = {
- SONIC_BASE_ADDRESS, /* base address */
- SONIC_VECTOR, /* vector number */
+ SONIC_BASE_ADDRESS, /* base address */
+ SONIC_VECTOR, /* vector number */
SONIC_DCR, /* DCR register value */
SONIC_DC2, /* DC2 register value */
TDA_COUNT, /* number of transmit descriptors */
@@ -110,5 +110,5 @@ sonic_configuration_t dmv177_sonic_configuration = {
int rtems_dmv177_sonic_driver_attach(struct rtems_bsdnet_ifconfig *config)
{
return rtems_sonic_driver_attach( config, &dmv177_sonic_configuration );
-
+
}
diff --git a/c/src/lib/libbsp/powerpc/dmv177/start/start.S b/c/src/lib/libbsp/powerpc/dmv177/start/start.S
index e3e4bc3fb3..33d793ad98 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/start/start.S
+++ b/c/src/lib/libbsp/powerpc/dmv177/start/start.S
@@ -66,7 +66,7 @@ _start:
*/
bl .Laddr /* get current address */
-
+
.Laddr:
mflr r4 /* real address of .Laddr */
lwz r5,(.Lptr-.Laddr)(r4) /* linker generated address of .LCTOC1 */
diff --git a/c/src/lib/libbsp/powerpc/dmv177/startup/bspstart.c b/c/src/lib/libbsp/powerpc/dmv177/startup/bspstart.c
index 971a6bb4e4..0a1ef09de1 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/dmv177/startup/bspstart.c
@@ -21,7 +21,7 @@
* The original table from the application and our copy of it with
* some changes.
*/
-
+
extern rtems_configuration_table Configuration;
rtems_configuration_table BSP_Configuration;
rtems_cpu_table Cpu_table;
@@ -67,7 +67,7 @@ void bsp_pretasking_hook(void)
* bsp_predriver_hook
*
* Initialization before drivers are setup.
- */
+ */
void bsp_predriver_hook(void)
{
@@ -93,14 +93,14 @@ void bsp_start( void )
*/
_CPU_MSR_SET( msr_value );
-
+
/*
* Need to "allocate" the memory for the RTEMS Workspace and
* tell the RTEMS configuration where it is. This memory is
* not malloc'ed. It is just "pulled from the air".
*/
- work_space_start =
+ work_space_start =
(unsigned char *)&RAM_END - BSP_Configuration.work_space_size;
if ( work_space_start <= (unsigned char *)&end ) {
diff --git a/c/src/lib/libbsp/powerpc/dmv177/startup/genpvec.c b/c/src/lib/libbsp/powerpc/dmv177/startup/genpvec.c
index 4661a718bc..5b3d292c78 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/startup/genpvec.c
+++ b/c/src/lib/libbsp/powerpc/dmv177/startup/genpvec.c
@@ -7,7 +7,7 @@
*
* The external exception vector numbers begin with DMV170_IRQ_FIRST.
* DMV170_IRQ_FIRST is defined to be one greater than the last processor
- * interrupt.
+ * interrupt.
*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
@@ -26,8 +26,8 @@
#define NUM_LIRQ_HANDLERS 20
#define NUM_LIRQ ( MAX_BOARD_IRQS - PPC_IRQ_LAST )
-/*
- * Structure to for one of possible multiple interrupt handlers for
+/*
+ * Structure to for one of possible multiple interrupt handlers for
* a given interrupt.
*/
typedef struct
@@ -42,7 +42,7 @@ typedef struct
* handlers at a later time.
*/
EE_ISR_Type ISR_Nodes [NUM_LIRQ_HANDLERS];
-uint16_t Nodes_Used;
+uint16_t Nodes_Used;
Chain_Control ISR_Array [NUM_LIRQ];
/*PAGE
@@ -56,22 +56,22 @@ Chain_Control ISR_Array [NUM_LIRQ];
*
* Output parameters: NONE
*
- * Return values:
+ * Return values:
*/
rtems_isr external_exception_ISR (
rtems_vector_number vector /* IN */
)
-{
+{
uint16_t index;
rtems_boolean is_active=FALSE;
uint32_t scv64_status;
Chain_Node *node;
EE_ISR_Type *ee_isr;
-
+
/*
- * Get all active interrupts.
+ * Get all active interrupts.
*/
scv64_status = SCV64_Get_Interrupt();
scv64_status &= SCV64_Get_Interrupt_Enable();
@@ -121,7 +121,7 @@ rtems_isr external_exception_ISR (
* initialize_external_exception_vector
*
* This routine initializes the external exception vector
- *
+ *
* Input parameters: NONE
*
* Output parameters: NONE
@@ -134,24 +134,24 @@ void initialize_external_exception_vector ()
int i;
rtems_isr_entry previous_isr;
rtems_status_code status;
- extern void SCV64_Initialize( void );
+ extern void SCV64_Initialize( void );
Nodes_Used = 0;
/*
* Initialize the SCV64 chip
*/
- SCV64_Initialize();
+ SCV64_Initialize();
for (i=0; i <NUM_LIRQ; i++)
Chain_Initialize_empty( &ISR_Array[i] );
- /*
- * Install external_exception_ISR () as the handler for
+ /*
+ * Install external_exception_ISR () as the handler for
* the General Purpose Interrupt.
*/
- status = rtems_interrupt_catch( external_exception_ISR,
+ status = rtems_interrupt_catch( external_exception_ISR,
PPC_IRQ_EXTERNAL , (rtems_isr_entry *) &previous_isr );
}
@@ -160,7 +160,7 @@ void initialize_external_exception_vector ()
*
* set_EE_vector
*
- * This routine installs one of multiple ISRs for the general purpose
+ * This routine installs one of multiple ISRs for the general purpose
* inerrupt.
*
* Input parameters:
@@ -179,12 +179,12 @@ rtems_isr_entry set_EE_vector(
{
uint16_t vec_idx = vector - DMV170_IRQ_FIRST;
uint32_t index;
-
- /*
+
+ /*
* Verify that all of the nodes have not been used.
*/
assert (Nodes_Used < NUM_LIRQ_HANDLERS);
-
+
/*
* If we have already installed this handler for this vector, then
* just reset it.
@@ -200,8 +200,8 @@ rtems_isr_entry set_EE_vector(
* Increment the number of nedes used and set the index for the node
* array.
*/
-
- Nodes_Used++;
+
+ Nodes_Used++;
index = Nodes_Used - 1;
/*
@@ -211,8 +211,8 @@ rtems_isr_entry set_EE_vector(
ISR_Nodes[index].vector = vector;
/*
- * Connect this node to the chain at the location of the
- * vector index.
+ * Connect this node to the chain at the location of the
+ * vector index.
*/
Chain_Append( &ISR_Array[vec_idx], &ISR_Nodes[index].Node );
diff --git a/c/src/lib/libbsp/powerpc/dmv177/startup/setvec.c b/c/src/lib/libbsp/powerpc/dmv177/startup/setvec.c
index 16b94f5503..614a9b8205 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/startup/setvec.c
+++ b/c/src/lib/libbsp/powerpc/dmv177/startup/setvec.c
@@ -41,7 +41,7 @@ rtems_isr_entry set_vector( /* returns old vector */
rtems_isr_entry previous_isr;
rtems_status_code status;
- /*
+ /*
* vectors greater than PPC603e_IRQ_LAST are handled by the General purpose
* interupt handler.
*/
diff --git a/c/src/lib/libbsp/powerpc/dmv177/timer/timer.c b/c/src/lib/libbsp/powerpc/dmv177/timer/timer.c
index e912c018da..c9a406f6bf 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/timer/timer.c
+++ b/c/src/lib/libbsp/powerpc/dmv177/timer/timer.c
@@ -21,8 +21,8 @@ rtems_boolean Timer_driver_Find_average_overhead;
/*PAGE
*
* Timer_initialize
- *
- * This routine initializes the timer.
+ *
+ * This routine initializes the timer.
*
* Input parameters: NONE
*
@@ -40,7 +40,7 @@ void Timer_initialize()
Timer_driver_Start_time = PPC_Get_timebase_register();
-
+
}
@@ -97,7 +97,7 @@ int Read_timer()
*
* Input parameters: NONE
*
- * Output parameters:
+ * Output parameters:
* status code of successful
*
* Return values: NONE
@@ -115,7 +115,7 @@ rtems_status_code Empty_function( void )
*
* This routine sets a global boolean to the value passed in.
*
- * Input parameters:
+ * Input parameters:
* find_flag - flag to indicate to find the average overhead.
*
* Output parameters: NONE