forked from Imagelibrary/rtems
Remove white spaces.
This commit is contained in:
@@ -50,7 +50,7 @@ static void console_initialize_pointers(void)
|
|||||||
Console_Port_Tbl = malloc( Console_Port_Count * sizeof( console_tbl * ) );
|
Console_Port_Tbl = malloc( Console_Port_Count * sizeof( console_tbl * ) );
|
||||||
if (Console_Port_Tbl == NULL)
|
if (Console_Port_Tbl == NULL)
|
||||||
rtems_panic("No memory for console pointers");
|
rtems_panic("No memory for console pointers");
|
||||||
|
|
||||||
for (i=0 ; i < Console_Port_Count ; i++)
|
for (i=0 ; i < Console_Port_Count ; i++)
|
||||||
Console_Port_Tbl[i] = &Console_Configuration_Ports[i];
|
Console_Port_Tbl[i] = &Console_Configuration_Ports[i];
|
||||||
}
|
}
|
||||||
@@ -103,7 +103,7 @@ void console_register_devices(
|
|||||||
/*
|
/*
|
||||||
* Now add the new devices at the end.
|
* Now add the new devices at the end.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
for (i=0 ; i < number_of_ports ; i++) {
|
for (i=0 ; i < number_of_ports ; i++) {
|
||||||
Console_Port_Tbl[old_number_of_ports + i] = &new_ports[i];
|
Console_Port_Tbl[old_number_of_ports + i] = &new_ports[i];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is an extension of the generic console driver
|
* This file is an extension of the generic console driver
|
||||||
* shell used by all console drivers using libchip.
|
* shell used by all console drivers using libchip.
|
||||||
*
|
*
|
||||||
* COPYRIGHT (c) 1989-2011.
|
* COPYRIGHT (c) 1989-2011.
|
||||||
|
|||||||
@@ -55,19 +55,19 @@ extern void bsp_com_outch(char ch);
|
|||||||
* @return This method returns the character that
|
* @return This method returns the character that
|
||||||
* was retrieved from the console port.
|
* was retrieved from the console port.
|
||||||
*/
|
*/
|
||||||
extern int bsp_com_inch(void);
|
extern int bsp_com_inch(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief
|
* @brief
|
||||||
*
|
*
|
||||||
* This function
|
* This function
|
||||||
*
|
*
|
||||||
* @return This method returns
|
* @return This method returns
|
||||||
*/
|
*/
|
||||||
int vt_ioctl( unsigned int cmd, unsigned long arg);
|
int vt_ioctl( unsigned int cmd, unsigned long arg);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief console_register_devices
|
* @brief console_register_devices
|
||||||
*
|
*
|
||||||
* This function expands the console table to include previous
|
* This function expands the console table to include previous
|
||||||
* ports and the array of new ports specified.
|
* ports and the array of new ports specified.
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is an extension of the generic console driver
|
* This file is an extension of the generic console driver
|
||||||
* shell used by all console drivers using libchip.
|
* shell used by all console drivers using libchip.
|
||||||
*
|
*
|
||||||
* COPYRIGHT (c) 1989-2011.
|
* COPYRIGHT (c) 1989-2011.
|
||||||
|
|||||||
@@ -3,11 +3,11 @@
|
|||||||
*
|
*
|
||||||
* @ingroup Console
|
* @ingroup Console
|
||||||
*
|
*
|
||||||
* @brief Generic libchip console select
|
* @brief Generic libchip console select
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file contains a routine to select the
|
* This file contains a routine to select the
|
||||||
* console based upon a number of criteria.
|
* console based upon a number of criteria.
|
||||||
*
|
*
|
||||||
* COPYRIGHT (c) 2011.
|
* COPYRIGHT (c) 2011.
|
||||||
@@ -44,7 +44,7 @@ static bool bsp_Is_Available( rtems_device_minor_number minor )
|
|||||||
*/
|
*/
|
||||||
if ((!cptr->deviceProbe || cptr->deviceProbe(minor)) &&
|
if ((!cptr->deviceProbe || cptr->deviceProbe(minor)) &&
|
||||||
cptr->pDeviceFns->deviceProbe(minor)) {
|
cptr->pDeviceFns->deviceProbe(minor)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -71,7 +71,7 @@ static rtems_device_minor_number bsp_First_Available_Device( void )
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Error No devices were found. We will want to bail here.
|
* Error No devices were found. We will want to bail here.
|
||||||
*/
|
*/
|
||||||
rtems_fatal_error_occurred(RTEMS_IO_ERROR);
|
rtems_fatal_error_occurred(RTEMS_IO_ERROR);
|
||||||
}
|
}
|
||||||
@@ -80,9 +80,9 @@ void bsp_console_select(void)
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reset Console_Port_Minor and
|
* Reset Console_Port_Minor and
|
||||||
* BSPPrintkPort here if desired.
|
* BSPPrintkPort here if desired.
|
||||||
*
|
*
|
||||||
* This default version allows the bsp to set these
|
* This default version allows the bsp to set these
|
||||||
* values at creation and will not touch them again
|
* values at creation and will not touch them again
|
||||||
* unless the selected port number is not available.
|
* unless the selected port number is not available.
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is an extension of the generic console driver
|
* This file is an extension of the generic console driver
|
||||||
* shell used by all console drivers using libchip.
|
* shell used by all console drivers using libchip.
|
||||||
*
|
*
|
||||||
* COPYRIGHT (c) 1989-2011.
|
* COPYRIGHT (c) 1989-2011.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* tfs.h - Header file for TFS transactions, used by both application and
|
* tfs.h - Header file for TFS transactions, used by both application and
|
||||||
* monnitor.
|
* monnitor.
|
||||||
*
|
*
|
||||||
* Based upon code from MicroMonitor 1.17 from http://www.umonfw.com/
|
* Based upon code from MicroMonitor 1.17 from http://www.umonfw.com/
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ int rtems_initialize_tfs_filesystem(
|
|||||||
|
|
||||||
if (rtems_filesystem_register( "tfs", rtems_tfs_mount_me ) < 0)
|
if (rtems_filesystem_register( "tfs", rtems_tfs_mount_me ) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
status = mount( "umon", TFS_PATHNAME_PREFIX, "tfs", RTEMS_FILESYSTEM_READ_WRITE, NULL);
|
status = mount( "umon", TFS_PATHNAME_PREFIX, "tfs", RTEMS_FILESYSTEM_READ_WRITE, NULL);
|
||||||
|
|
||||||
if (status < 0) {
|
if (status < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user