Changeset a316a9d in rtems


Ignore:
Timestamp:
Apr 11, 2021, 7:15:13 PM (4 weeks ago)
Author:
Jiri Gaisler <jiri@…>
Branches:
master
Children:
5728e8e3
Parents:
0cbbcef
git-author:
Jiri Gaisler <jiri@…> (04/11/21 19:15:13)
git-committer:
Jiri Gaisler <jiri@…> (04/13/21 20:31:22)
Message:

smpfatal08: block secondary processors

  • On some SMP platforms, all cpus are started by the boot-loader. We need to block the secondary cpus or they will clobber the test output.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/smpfatal08/init.c

    r0cbbcef ra316a9d  
    3939  /* Provided to avoid multiple definitions of the CPU SMP support functions */
    4040  (void) cpu_self;
     41  /* Block secondary cpus if they are running to avoid clobbering output */
     42  (void) _CPU_Thread_Idle_body( 0 );
    4143}
    4244
Note: See TracChangeset for help on using the changeset viewer.