summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/schedsim_smpsimple
diff options
context:
space:
mode:
Diffstat (limited to 'schedsim/shell/schedsim_smpsimple')
-rw-r--r--schedsim/shell/schedsim_smpsimple/config.c1
-rw-r--r--schedsim/shell/schedsim_smpsimple/main_dispatch.c2
-rw-r--r--schedsim/shell/schedsim_smpsimple/main_dump_all_cpus.c2
-rw-r--r--schedsim/shell/schedsim_smpsimple/main_dump_ready_tasks.c4
-rw-r--r--schedsim/shell/schedsim_smpsimple/printheir_executing.c6
-rw-r--r--schedsim/shell/schedsim_smpsimple/smp_stub.c2
-rw-r--r--schedsim/shell/schedsim_smpsimple/wrap_thread_dispatch.c5
7 files changed, 10 insertions, 12 deletions
diff --git a/schedsim/shell/schedsim_smpsimple/config.c b/schedsim/shell/schedsim_smpsimple/config.c
index 7f20e3c..49516bc 100644
--- a/schedsim/shell/schedsim_smpsimple/config.c
+++ b/schedsim/shell/schedsim_smpsimple/config.c
@@ -16,4 +16,3 @@
#define CONFIGURE_DISABLE_BSP_SETTINGS
#include <rtems/confdefs.h>
-
diff --git a/schedsim/shell/schedsim_smpsimple/main_dispatch.c b/schedsim/shell/schedsim_smpsimple/main_dispatch.c
index f742a75..bbd4e1a 100644
--- a/schedsim/shell/schedsim_smpsimple/main_dispatch.c
+++ b/schedsim/shell/schedsim_smpsimple/main_dispatch.c
@@ -36,7 +36,7 @@ int main_dispatch(int argc, char **argv)
_Thread_Dispatch();
}
}
-
+
Schedsim_Current_cpu = current_cpu;
return 0;
}
diff --git a/schedsim/shell/schedsim_smpsimple/main_dump_all_cpus.c b/schedsim/shell/schedsim_smpsimple/main_dump_all_cpus.c
index 6301ec3..dfe3bc6 100644
--- a/schedsim/shell/schedsim_smpsimple/main_dump_all_cpus.c
+++ b/schedsim/shell/schedsim_smpsimple/main_dump_all_cpus.c
@@ -46,6 +46,6 @@ int main_dump_all_cpus(int argc, char **argv)
);
}
printf( "=== End of Ready Set of Threads\n" );
-
+
return 0;
}
diff --git a/schedsim/shell/schedsim_smpsimple/main_dump_ready_tasks.c b/schedsim/shell/schedsim_smpsimple/main_dump_ready_tasks.c
index f9edf80..0c5fc9a 100644
--- a/schedsim/shell/schedsim_smpsimple/main_dump_ready_tasks.c
+++ b/schedsim/shell/schedsim_smpsimple/main_dump_ready_tasks.c
@@ -31,7 +31,7 @@ int main_dump_ready_tasks(int argc, char **argv)
Chain_Node *n;
Thread_Control *t;
- Scheduler_simple_SMP_Context * self =
+ Scheduler_simple_SMP_Context * self =
(Scheduler_simple_SMP_Context *) _Scheduler_Table[0].context;
/* We don't support this yet */
@@ -48,6 +48,6 @@ int main_dump_ready_tasks(int argc, char **argv)
);
}
printf( "=== End of Ready Set of Threads\n" );
-
+
return 0;
}
diff --git a/schedsim/shell/schedsim_smpsimple/printheir_executing.c b/schedsim/shell/schedsim_smpsimple/printheir_executing.c
index b3ad6a0..fe4d580 100644
--- a/schedsim/shell/schedsim_smpsimple/printheir_executing.c
+++ b/schedsim/shell/schedsim_smpsimple/printheir_executing.c
@@ -24,10 +24,10 @@ void PRINT_EXECUTING() {
}
void PRINT_HEIR() {
- printf(
+ printf(
" CPU %d: Thread Heir 0x%08x priority=%ld\n",
Schedsim_Current_cpu,
- _Thread_Heir->Object.id,
- (long) _Thread_Heir->current_priority
+ _Thread_Heir->Object.id,
+ (long) _Thread_Heir->current_priority
);
}
diff --git a/schedsim/shell/schedsim_smpsimple/smp_stub.c b/schedsim/shell/schedsim_smpsimple/smp_stub.c
index c68e30b..37befbd 100644
--- a/schedsim/shell/schedsim_smpsimple/smp_stub.c
+++ b/schedsim/shell/schedsim_smpsimple/smp_stub.c
@@ -33,7 +33,7 @@ void _CPU_SMP_Finalize_initialization( uint32_t cpu_count )
void _CPU_SMP_Send_interrupt( uint32_t target_processor_index )
{
-}
+}
void _CPU_SMP_Processor_event_broadcast( void )
{
diff --git a/schedsim/shell/schedsim_smpsimple/wrap_thread_dispatch.c b/schedsim/shell/schedsim_smpsimple/wrap_thread_dispatch.c
index 98506c8..4661dc6 100644
--- a/schedsim/shell/schedsim_smpsimple/wrap_thread_dispatch.c
+++ b/schedsim/shell/schedsim_smpsimple/wrap_thread_dispatch.c
@@ -41,7 +41,7 @@ void check_heir_and_executing(void)
uint32_t level;
_ISR_Disable_without_giant( level );
- if ( last_heir[Schedsim_Current_cpu] != _Thread_Heir )
+ if ( last_heir[Schedsim_Current_cpu] != _Thread_Heir )
PRINT_HEIR();
if ( last_executing[Schedsim_Current_cpu] != _Thread_Executing )
@@ -64,7 +64,6 @@ void __wrap__Thread_Dispatch(void)
__real__Thread_Dispatch();
check_heir_and_executing();
}
-
+
Schedsim_Current_cpu = current_cpu;
}
-