source: rtems-schedsim/schedsim/shell/schedsim_priority/smp_stub.c @ b38dbcc

Last change on this file since b38dbcc was b38dbcc, checked in by Joel Sherrill <joel.sherrill@…>, on 05/14/14 at 14:55:21

Many files: rm white space at EOL and EOF

  • Property mode set to 100644
File size: 830 bytes
Line 
1/*
2 *  RTEMS SMP Support for Single Core
3 *
4 *  COPYRIGHT (c) 1989-2013.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 */
11
12#include <rtems.h>
13#include <rtems/bspIo.h>
14#include <stdlib.h>
15
16uint32_t _CPU_SMP_Initialize( void )
17{
18  /* return the number of CPUs */
19  return 1; /* XXX */
20}
21
22bool _CPU_SMP_Start_processor( uint32_t cpu_index )
23{
24  return true;
25}
26
27void _CPU_SMP_Finalize_initialization( uint32_t cpu_count )
28{
29}
30
31void _CPU_SMP_Send_interrupt( uint32_t target_processor_index )
32{
33}
34
35void _CPU_SMP_Processor_event_broadcast( void )
36{
37}
38
39void _CPU_SMP_Processor_event_receive( void )
40{
41}
42
43uint32_t _CPU_SMP_Get_current_processor( void )
44{
45  return 0;
46}
Note: See TracBrowser for help on using the repository browser.