forked from Imagelibrary/rtems
Remove stray white spaces.
This commit is contained in:
@@ -105,7 +105,7 @@ rtems_device_driver Clock_control(
|
||||
(void) set_vector( args->buffer, Clock_driver_vector, 1 );
|
||||
rtems_interrupt_enable( isrlevel );
|
||||
}
|
||||
|
||||
|
||||
done:
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ rtems_device_driver console_open(
|
||||
{
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Close entry point
|
||||
*/
|
||||
@@ -69,7 +69,7 @@ rtems_device_driver console_read(
|
||||
}
|
||||
|
||||
/*
|
||||
* write bytes to the serial port. Stdout and stderr are the same.
|
||||
* write bytes to the serial port. Stdout and stderr are the same.
|
||||
*/
|
||||
|
||||
rtems_device_driver console_write(
|
||||
|
||||
@@ -77,11 +77,11 @@ extern rtems_configuration_table BSP_Configuration;
|
||||
/*
|
||||
* NOTE: Use the standard Console driver entry
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* NOTE: Use the standard Clock driver entry
|
||||
*/
|
||||
|
||||
|
||||
/* functions */
|
||||
|
||||
rtems_isr_entry set_vector(rtems_isr_entry, rtems_vector_number, int);
|
||||
|
||||
@@ -28,6 +28,6 @@ void Shm_Cause_interrupt_unix(
|
||||
{
|
||||
Shm_Interrupt_information *intr;
|
||||
intr = &Shm_Interrupt_table[node];
|
||||
|
||||
|
||||
_CPU_SHM_Send_interrupt( (pid_t) intr->address, intr->value );
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ uint32_t CPU_CLICKS_PER_TICK;
|
||||
/*
|
||||
* Use the shared implementations of the following routines
|
||||
*/
|
||||
|
||||
|
||||
void bsp_postdriver_hook(void);
|
||||
void bsp_libc_init( void *, uint32_t, int );
|
||||
|
||||
@@ -83,7 +83,7 @@ void bsp_pretasking_hook(void)
|
||||
Heap_size = strtol(getenv("RTEMS_HEAPSPACE_SIZE"), 0, 0);
|
||||
else
|
||||
Heap_size = DEFAULT_HEAPSPACE_SIZE;
|
||||
|
||||
|
||||
heap_start = 0;
|
||||
|
||||
bsp_libc_init((void *)heap_start, Heap_size, 1024 * 1024);
|
||||
@@ -102,9 +102,9 @@ void bsp_pretasking_hook(void)
|
||||
}
|
||||
|
||||
/*
|
||||
* DO NOT Use the shared bsp_postdriver_hook() implementation
|
||||
* DO NOT Use the shared bsp_postdriver_hook() implementation
|
||||
*/
|
||||
|
||||
|
||||
void bsp_postdriver_hook(void)
|
||||
{
|
||||
return;
|
||||
@@ -125,7 +125,7 @@ void bsp_start(void)
|
||||
*/
|
||||
|
||||
BSP_Configuration = Configuration;
|
||||
|
||||
|
||||
/*
|
||||
* If the node number is -1 then the application better provide
|
||||
* it through environment variables RTEMS_NODE.
|
||||
@@ -134,17 +134,17 @@ void bsp_start(void)
|
||||
|
||||
if (BSP_Configuration.User_multiprocessing_table) {
|
||||
char *p;
|
||||
|
||||
|
||||
/* make a copy for possible editing */
|
||||
BSP_Multiprocessing = *BSP_Configuration.User_multiprocessing_table;
|
||||
BSP_Configuration.User_multiprocessing_table = &BSP_Multiprocessing;
|
||||
|
||||
|
||||
if (BSP_Multiprocessing.node == -1)
|
||||
{
|
||||
p = getenv("RTEMS_NODE");
|
||||
BSP_Multiprocessing.node = p ? atoi(p) : 1;
|
||||
}
|
||||
|
||||
|
||||
/* If needed provide maximum_nodes also */
|
||||
if (BSP_Multiprocessing.maximum_nodes == -1)
|
||||
{
|
||||
@@ -163,22 +163,22 @@ void bsp_start(void)
|
||||
cpu_number = 0;
|
||||
|
||||
if (getenv("RTEMS_WORKSPACE_SIZE"))
|
||||
BSP_Configuration.work_space_size =
|
||||
BSP_Configuration.work_space_size =
|
||||
strtol(getenv("RTEMS_WORKSPACE_SIZE"), 0, 0);
|
||||
else
|
||||
BSP_Configuration.work_space_size = DEFAULT_WORKSPACE_SIZE;
|
||||
|
||||
|
||||
/*
|
||||
* Allocate workspace memory, ensuring it is properly aligned
|
||||
*/
|
||||
|
||||
workspace_ptr =
|
||||
|
||||
workspace_ptr =
|
||||
(uint32_t) sbrk(BSP_Configuration.work_space_size + CPU_ALIGNMENT);
|
||||
workspace_ptr += CPU_ALIGNMENT - 1;
|
||||
workspace_ptr &= ~(CPU_ALIGNMENT - 1);
|
||||
|
||||
BSP_Configuration.work_space_start = (void *) workspace_ptr;
|
||||
|
||||
|
||||
/*
|
||||
* Set up our hooks
|
||||
* Make sure libc_init is done before drivers init'd so that
|
||||
|
||||
@@ -40,5 +40,5 @@ set_vector( /* returns old vector */
|
||||
_CPU_ISR_install_vector( vector, (proc_ptr) handler, &raw_isr_ptr );
|
||||
return raw_isr_ptr;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user