Remove stray white spaces.

This commit is contained in:
Ralf Corsepius
2004-04-15 13:26:21 +00:00
parent 7ded4e37a3
commit 3239698d1f
517 changed files with 173 additions and 872 deletions

View File

@@ -52,4 +52,3 @@ extern "C" {
#endif /* __BSP_H_ */
/* end of include file */

View File

@@ -50,4 +50,3 @@ extern volatile unsigned long *Regs; /* Chip registers */
#define RSCNT 9
#endif /*__REGS_H__*/

View File

@@ -143,15 +143,3 @@ init2 :
/* --- Now we enter the C code */
B boot_card

View File

@@ -38,11 +38,3 @@ void bsp_cleanup(void)
ch = BSP_poll_char();
rtemsReboot();
}

View File

@@ -81,4 +81,3 @@ void Armulator_BSP_output_char(char c) { console_outbyte_polled( 0, c ); }
BSP_output_char_function_type BSP_output_char = Armulator_BSP_output_char;
BSP_polling_getchar_function_type BSP_poll_char = NULL;

View File

@@ -248,4 +248,3 @@ SWI_Handler:
.section .idata$3
.long 0,0,0,0,0,0,0,0
#endif

View File

@@ -169,4 +169,3 @@ _gettimeofday (struct timeval * tp, struct timezone * tzp)
return 0;
}
#endif

View File

@@ -159,4 +159,3 @@ static void uart_init(int minor)
}

View File

@@ -66,4 +66,3 @@ extern rtems_configuration_table BSP_Configuration;
#endif
#endif /* __BSP_H__ */

View File

@@ -114,4 +114,3 @@ void BSP_rtems_irq_mngt_init()
}
int_stat = *EP7312_INTSR3;
}

View File

@@ -166,5 +166,3 @@ init2 :
ldmia sp!, {r4-r12, lr}
mov sp, r12
mov pc, lr

View File

@@ -90,4 +90,3 @@ void Set_find_average_overhead(
{
Timer_driver_Find_average_overhead = find_flag;
}

View File

@@ -357,5 +357,3 @@ conSetAttr(int minor, const struct termios *t)
return 0;
}

View File

@@ -153,6 +153,3 @@ extern int BSPBaseBaud;
#define TRIG_LEVEL 0xc0 /* Mask for the trigger level */
#endif /* _BSPUART_H */

View File

@@ -164,8 +164,3 @@ _ISR_Dispatch_p_4:
/* Finally, we can return to the interrupted task */
subs pc, lr, #4

View File

@@ -48,4 +48,3 @@ void rtems_irq_mngt_init()
/* Initialize the INT at the BSP level */
BSP_rtems_irq_mngt_init();
}

View File

@@ -52,4 +52,3 @@ extern "C" {
#endif /* __BSP_H_ */
/* end of include file */

View File

@@ -237,15 +237,3 @@ init2 :
/* --- Now we enter the C code */
B boot_card

View File

@@ -38,11 +38,3 @@ void bsp_cleanup(void)
ch = BSP_poll_char();
rtemsReboot();
}

View File

@@ -54,4 +54,3 @@ int console_inbyte_nonblocking( int port )
sim_read(1, &c, 1);
return c;
}

View File

@@ -114,4 +114,3 @@ void Set_find_average_overhead(
{
Timer_driver_Find_average_overhead = find_flag;
}

View File

@@ -63,5 +63,3 @@ void H8simBSP_output_char(char c) { console_outbyte_polled( 0, c ); }
BSP_output_char_function_type BSP_output_char = H8simBSP_output_char;
BSP_polling_getchar_function_type BSP_poll_char = NULL;

View File

@@ -489,4 +489,3 @@ SYM (zero_bss):
hlt # shutdown
END

View File

@@ -51,4 +51,3 @@ i386_isr_entry set_vector( /* returns old vector */
}
return previous_isr;
}

View File

@@ -420,4 +420,3 @@ typedef unsigned char u_char;
#define UTP 0x4
#define RX_BYTES_MASK (u_short) (0x07ff)

View File

@@ -221,5 +221,3 @@ rtc_read(rtems_time_of_day *tod)
return (long int)sec;
} /* rtc_read */

View File

@@ -573,5 +573,3 @@ BSP_output_char_function_type BSP_output_char =
(BSP_output_char_function_type) _IBMPC_outch;
BSP_polling_getchar_function_type BSP_poll_char = BSP_wait_polled_input;

View File

@@ -260,4 +260,3 @@ struct kbdiacr accent_table[MAX_DIACR] = {
};
unsigned int accent_table_size = 68;

View File

@@ -16,6 +16,39 @@
* MODIFICATION/HISTORY:
*
* $Log$
* Revision 1.1 2000/08/30 08:15:30 joel
* 2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com>
*
* * Major rework of the "/dev/console" driver.
* * Added termios support for stdin ( keyboard ).
* * Added ioctls() to support modes similar to Linux( XLATE,
* RAW, MEDIUMRAW ).
* * Added Keyboard mapping and handling of the keyboard's leds.
* * Added Micro FrameBuffer driver ( "/dev/fb0" ) for bare VGA
* controller ( 16 colors ).
* * Added PS/2 and Serial mouse support for PC386 BSP.
* * console/defkeymap.c: New file.
* * console/fb_vga.c: New file.
* * console/fb_vga.h: New file.
* * console/i386kbd.h: New file.
* * console/kd.h: New file.
* * console/keyboard.c: New file.
* * console/keyboard.h: New file.
* * console/mouse_parser.c: New file.
* * console/mouse_parser.h: New file.
* * console/pc_keyb.c: New file.
* * console/ps2_drv.h: New file.
* * console/ps2_mouse.c: New file.
* * console/ps2_mouse.h: New file.
* * console/serial_mouse.c: New file.
* * console/serial_mouse.h: New file.
* * console/vgainit.c: New file.
* * console/vt.c: New file.
* * console/Makefile.am: Reflect new files.
* * console/console.c, console/inch.c, console/outch.c: Console
* functionality modifications.
* * startup/Makefile.am: Pick up tty_drv.c and gdb_glue.c
*
****************************************************************************/
/* functions */
@@ -77,5 +110,3 @@ rtems_device_driver fbvga_control(
/* end of include file */
#endif /* __fbvga_drv__ */

View File

@@ -186,4 +186,3 @@ extern unsigned char aux_device_present;
#define mark_bh(x)
#endif /* _I386_KEYBOARD_H */

View File

@@ -311,4 +311,3 @@ void add_to_queue( unsigned short b )
kbd_last = next;
}
}

View File

@@ -925,4 +925,3 @@ int kbd_init(void)
mark_bh(KEYBOARD_BH);
return 0;
}

View File

@@ -33,4 +33,3 @@ void unregister_kbd_msg_queue( int port );
#endif /* __mouse_parser_h__ */

View File

@@ -326,4 +326,3 @@ int whereY( void )
{
return column;
}

View File

@@ -15,6 +15,39 @@
* MODIFICATION/HISTORY:
*
* $Log$
* Revision 1.1 2000/08/30 08:15:30 joel
* 2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com>
*
* * Major rework of the "/dev/console" driver.
* * Added termios support for stdin ( keyboard ).
* * Added ioctls() to support modes similar to Linux( XLATE,
* RAW, MEDIUMRAW ).
* * Added Keyboard mapping and handling of the keyboard's leds.
* * Added Micro FrameBuffer driver ( "/dev/fb0" ) for bare VGA
* controller ( 16 colors ).
* * Added PS/2 and Serial mouse support for PC386 BSP.
* * console/defkeymap.c: New file.
* * console/fb_vga.c: New file.
* * console/fb_vga.h: New file.
* * console/i386kbd.h: New file.
* * console/kd.h: New file.
* * console/keyboard.c: New file.
* * console/keyboard.h: New file.
* * console/mouse_parser.c: New file.
* * console/mouse_parser.h: New file.
* * console/pc_keyb.c: New file.
* * console/ps2_drv.h: New file.
* * console/ps2_mouse.c: New file.
* * console/ps2_mouse.h: New file.
* * console/serial_mouse.c: New file.
* * console/serial_mouse.h: New file.
* * console/vgainit.c: New file.
* * console/vt.c: New file.
* * console/Makefile.am: Reflect new files.
* * console/console.c, console/inch.c, console/outch.c: Console
* functionality modifications.
* * startup/Makefile.am: Pick up tty_drv.c and gdb_glue.c
*
****************************************************************************/
/* functions */
@@ -76,5 +109,3 @@ rtems_device_driver paux_control(
/* end of include file */
#endif /* __paux_drv__ */

View File

@@ -704,6 +704,3 @@ paux_control(rtems_device_major_number major,
args->ioctl_return = 0;
return RTEMS_SUCCESSFUL;
}

View File

@@ -143,4 +143,3 @@ struct aux_queue {
*/
#define AUX_IRQ 12

View File

@@ -15,6 +15,39 @@
* MODIFICATION/HISTORY:
*
* $Log$
* Revision 1.1 2000/08/30 08:15:30 joel
* 2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com>
*
* * Major rework of the "/dev/console" driver.
* * Added termios support for stdin ( keyboard ).
* * Added ioctls() to support modes similar to Linux( XLATE,
* RAW, MEDIUMRAW ).
* * Added Keyboard mapping and handling of the keyboard's leds.
* * Added Micro FrameBuffer driver ( "/dev/fb0" ) for bare VGA
* controller ( 16 colors ).
* * Added PS/2 and Serial mouse support for PC386 BSP.
* * console/defkeymap.c: New file.
* * console/fb_vga.c: New file.
* * console/fb_vga.h: New file.
* * console/i386kbd.h: New file.
* * console/kd.h: New file.
* * console/keyboard.c: New file.
* * console/keyboard.h: New file.
* * console/mouse_parser.c: New file.
* * console/mouse_parser.h: New file.
* * console/pc_keyb.c: New file.
* * console/ps2_drv.h: New file.
* * console/ps2_mouse.c: New file.
* * console/ps2_mouse.h: New file.
* * console/serial_mouse.c: New file.
* * console/serial_mouse.h: New file.
* * console/vgainit.c: New file.
* * console/vt.c: New file.
* * console/Makefile.am: Reflect new files.
* * console/console.c, console/inch.c, console/outch.c: Console
* functionality modifications.
* * startup/Makefile.am: Pick up tty_drv.c and gdb_glue.c
*
****************************************************************************/
/* functions */
@@ -82,5 +115,3 @@ rtems_device_driver serial_mouse_write(
/* end of include file */
#endif /* __tty_drv__ */

View File

@@ -48,4 +48,3 @@ wr_cursor: pushl %ecx
outb (%dx) /* Update low location cursor */
popl %ecx
ret

View File

@@ -347,4 +347,3 @@ int vt_ioctl( unsigned int cmd, unsigned long arg)
return -EINVAL;
}
}

View File

@@ -314,4 +314,3 @@ ide_ctrl_fns_t pc386_ide_ctrl_fns = {
pc386_ide_write_block,
pc386_ide_config_io_speed
};

View File

@@ -50,5 +50,3 @@ ide_controller_bsp_table_t IDE_Controller_Table[] = {
/* Number of rows in IDE_Controller_Table */
unsigned long IDE_Controller_Count =
sizeof(IDE_Controller_Table)/sizeof(IDE_Controller_Table[0]);

View File

@@ -234,9 +234,3 @@ void breakpoint(void);
#endif /* __BSP_H_ */
/* end of include file */

View File

@@ -1263,4 +1263,3 @@ rtems_ne_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach)
return 1;
}

View File

@@ -203,7 +203,3 @@ SYM (made_it_msg) :
END_DATA
END

View File

@@ -206,4 +206,3 @@ gdtptr:
.byte 0, 0x93, 0xcf, 0
.set gdtlen, . - gdtptr # length of GDT

View File

@@ -50,11 +50,3 @@ void bsp_cleanup(void)
ch = BSP_poll_char();
rtemsReboot();
}

View File

@@ -550,9 +550,3 @@ Wait_X_ms( unsigned int timeToWait){
}
}

View File

@@ -57,4 +57,3 @@ SYM (timerisr):
END_CODE
END

View File

@@ -401,4 +401,4 @@ writeHeader:
}
return 0;
}
}

View File

@@ -59,4 +59,3 @@ void init_remote_gdb( void )
/* breakpoint(); */
/* BREAKPOINT(); */
}

View File

@@ -169,27 +169,3 @@ void exceptionHandler(int vector, void (*handler)(void))
}
return;
}

View File

@@ -983,8 +983,3 @@ waitabit (void)
int i;
for (i = 0; i < waitlimit; i++);
}

View File

@@ -13,6 +13,19 @@
//
// MODIFICATION/HISTORY:
// $Log$
// Revision 1.1 2000/08/30 08:18:56 joel
// 2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com>
//
// * shared/comm: Added "/dev/ttyS1" & "/dev/ttyS2" support for
// the i386 BSPs.
// * shared/comm/gdb_glue.c: New file.
// * shared/comm/i386_io.c: New file.
// * shared/comm/tty_drv.c: New file.
// * shared/comm/tty_drv.h: New file.
// * shared/comm/Makefile.am: Account for new files.
// * shared/comm/uart.c: Adds support for sending characters to
// another "line discipline."
//
//
/////////////////////////////////////////////////////////////////////////////
*/
@@ -63,4 +76,3 @@
#define sti() __asm__ __volatile__("sti");
#endif /* i386_io_h__ */

View File

@@ -15,6 +15,19 @@
* MODIFICATION/HISTORY:
*
* $Log$
* Revision 1.1 2000/08/30 08:18:56 joel
* 2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com>
*
* * shared/comm: Added "/dev/ttyS1" & "/dev/ttyS2" support for
* the i386 BSPs.
* * shared/comm/gdb_glue.c: New file.
* * shared/comm/i386_io.c: New file.
* * shared/comm/tty_drv.c: New file.
* * shared/comm/tty_drv.h: New file.
* * shared/comm/Makefile.am: Account for new files.
* * shared/comm/uart.c: Adds support for sending characters to
* another "line discipline."
*
****************************************************************************/
/* functions */
@@ -103,5 +116,3 @@ rtems_device_driver tty2_control(
/* end of include file */
#endif /* __tty_drv__ */

View File

@@ -995,9 +995,3 @@ asm (" movb $0x20, %al");
asm (" outb %al, $0x20");
asm (" movl sav, %eax"); /* Restore eax */
asm (" iret"); /* Done */

View File

@@ -176,6 +176,3 @@ extern int BSPBaseBaud;
#endif /* _BSPUART_H */

View File

@@ -54,4 +54,3 @@ BSP_pciFindDevice( unsigned short vendorid, unsigned short deviceid,
#endif
#endif /* _PCIB_H */

View File

@@ -221,5 +221,3 @@ rtc_read(rtems_time_of_day *tod)
return (long int)sec;
} /* rtc_read */

View File

@@ -120,4 +120,3 @@
#define SMK_FU 0x20 /* FIFO underrun */
#define SMK_CDH 0x40 /* collision detect heartbeat */
#define SMK_OWC 0x80 /* out of window collision */

View File

@@ -148,4 +148,3 @@ void bsp_start( void )
void bsp_clean_up(void) {
printk("bsp_cleanup called\n");
}

View File

@@ -51,4 +51,3 @@ i386_isr_entry set_vector( /* returns old vector */
}
return previous_isr;
}

View File

@@ -81,4 +81,3 @@ void *POSIX_Init( void *argument )
#define CONFIGURE_INIT
#include <confdefs.h>

View File

@@ -22,4 +22,3 @@ void debug_test(void)
printf("Current sum = %d\n", sum);
}
}

View File

@@ -15,4 +15,3 @@ void init_serial_gdb( void );
#ifdef __cplusplus
}
#endif

View File

@@ -95,4 +95,3 @@ void *POSIX_Init( void *argument )
#define CONFIGURE_INIT
#include <confdefs.h>

View File

@@ -97,4 +97,3 @@ void *POSIX_Init( void *argument )
#define CONFIGURE_INIT
#include <confdefs.h>

View File

@@ -81,4 +81,3 @@ void *POSIX_Init( void *argument )
#define CONFIGURE_INIT
#include <confdefs.h>

View File

@@ -133,4 +133,3 @@ rtems_isr Clock_isr(
Clock_isrs -= 1;
i960_clear_intr( 5 );
}

View File

@@ -205,4 +205,3 @@ rtems_device_driver console_control(
{
return RTEMS_SUCCESSFUL;
}

View File

@@ -72,4 +72,3 @@ void Shm_Unlock(
isr_level = Shm_isrstat;
rtems_interrupt_enable( isr_level );
}

View File

@@ -65,4 +65,3 @@ int console_inbyte_nonblocking(
return c;
return -1;
}

View File

@@ -171,4 +171,3 @@ rtems_isr Clock_isr(
i960_clear_intr( 12 );
}

View File

@@ -357,7 +357,3 @@ int console_sps_kbhit()
stat = *uart;
return ( stat != 0);
}

View File

@@ -166,4 +166,3 @@ _bssEnd:
_bssStart_1:
_bssEnd_1:
_intStackPtr:

View File

@@ -17,4 +17,3 @@ extern void faultHndlEntry(void);
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -35,4 +35,3 @@ extern void asm_ivector(unsigned int vctr, void (* hndl)(void));
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -137,4 +137,3 @@ bsp_start(void)
return 0;
}

View File

@@ -86,4 +86,3 @@ ControlTblEntry controlTbl[] = {
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -49,4 +49,3 @@ extern ControlTblEntry rom_controlTbl[];
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -323,4 +323,3 @@ static char * faultUnknownSbtpStr(unsigned int sbtp)
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -55,4 +55,3 @@ extern int faultOk(int fault);
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -18,4 +18,3 @@ extern void faultRet(unsigned int * faultState);
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -118,4 +118,3 @@ void faultTblHandler(unsigned int * fp, unsigned int * faultBuffer)
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -37,4 +37,3 @@ extern void faultTblHandler(unsigned int * fp,
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -617,4 +617,3 @@ static vme_isdigit(char ch)
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -41,4 +41,3 @@ extern int unformat_string(const char * fmt, int ** argp, const char * buffer);
/* End of File
*/

View File

@@ -51,4 +51,3 @@ _clockHandler :
#
#
ret

View File

@@ -21,4 +21,3 @@ extern void intr6Handler(void);
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -54,4 +54,3 @@ InterruptTbl interruptTbl = {
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -31,4 +31,3 @@ extern InterruptTbl interruptTbl;
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -25,4 +25,3 @@ extern unsigned int bootAddr[];
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -68,4 +68,3 @@ extern void * memBufLookupNext(BufLookupHndl *);
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -82,4 +82,3 @@ SystemTbl nulsystemTbl = {
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -55,4 +55,3 @@ struct PRCB ram_prcb = {
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -58,4 +58,3 @@ extern unsigned int intStackPtr[];
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -86,4 +86,3 @@ ControlTblEntry rom_controlTbl[] = {
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -30,4 +30,3 @@ extern unsigned int rom_ibr_cksum[];
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -56,4 +56,3 @@ struct PRCB rom_prcb = {
/*-------------*/
/* End of file */
/*-------------*/

View File

@@ -27,4 +27,3 @@ extern void romTestStart(void);
/*-------------*/
/* End of file */
/*-------------*/

Some files were not shown because too many files have changed in this diff Show More