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

Last change on this file since 2d51251 was 2d51251, checked in by Jennifer Averett <jennifer.averett@…>, on May 9, 2014 at 1:35:58 PM

schedsim: Add smp support.

  • Property mode set to 100644
File size: 831 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.