[RTEMS Project] #2683: Configuration table's smp_enabled conditional on RTEMS_SMP

RTEMS trac trac at rtems.org
Mon Apr 4 01:48:55 UTC 2016


#2683: Configuration table's smp_enabled conditional on RTEMS_SMP
--------------------+-------------------
 Reporter:  chrisj  |       Owner:
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:  4.12
Component:  cpukit  |     Version:  4.12
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+-------------------
Description changed by chrisj:

Old description:

> The `rtems_configuration_table` has:
>
> {{{
>   #ifdef RTEMS_SMP
>     bool                         smp_enabled;
>   #endif
> }}}
>
> I would like the `smp_enabled` variable to always be defined for 4.12 and
> always set to `false` when RTEMS_SMP is not defined. It is impossible to
> parse the configuration table with external auditing tools with out this
> field always being present until you examine the DWARF debug info.
>
> I wonder if `User_multiprocessing_table` is the same so this means the
> members of the configuration table must always be defined.
>
> Chris

New description:

 The `rtems_configuration_table` has:

 {{{
   #ifdef RTEMS_SMP
     bool                         smp_enabled;
   #endif
 }}}

 I would like the `smp_enabled` variable to always be defined for 4.12 and
 always set to `false` when RTEMS_SMP is not defined. It is impossible to
 parse the configuration table with external auditing tools with out this
 field always being present unless you examine the DWARF debug info.

 I wonder if `User_multiprocessing_table` is the same so this means the
 members of the configuration table must always be defined.

 Chris

--

--
Ticket URL: <http://devel.rtems.org/ticket/2683#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list