<div dir="ltr">
<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB">Dear RTEMS
community,<span></span></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB"><span> </span></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB">I’m part of
the team performing the Independent Software Verification and Validation (ISVV)
of the RTEMS SMP Qualification Data Pack (which is being provided through <a href="https://rtems-qual.io.esa.int/" style="color:rgb(5,99,193);text-decoration:underline">https://rtems-qual.io.esa.int/</a>).<span></span></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB"><span> </span></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB">While
analysing in the Software Configuration File (SCF) which items are or not
pre-qualified, the following has been noticed:<span></span></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB"><span> </span></span></p>
<ul style="margin-top:0cm;margin-bottom:0cm" type="disc"><li class="gmail-MsoListParagraph" style="margin:0cm 0cm 0cm 18pt;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB">rtems_clock_get_ticks_per_second() and
rtems_clock_get_ticks_since_boot() functions are listed in section 4.10 of
the SCF (which list pre-qualified items “which may be directly used by
applications”).<span></span></span></li><li class="gmail-MsoListParagraph" style="margin:0cm 0cm 0cm 18pt;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB">In the ICD there are duplicated items described with these names, a
function, and a macro. Moreover:<span></span></span></li><ul style="margin-top:0cm;margin-bottom:0cm" type="circle"><li class="gmail-MsoListParagraph" style="margin:0cm 0cm 0cm 18pt;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB">In the ICDs the macros using these names are described with the
“The directive is not included in the pre-qualified feature set of RTEMS.
Applications which are restricted to only use interfaces of the pre-qualified
feature set of RTEMS shall not use the directive.”<span></span></span></li></ul><li class="gmail-MsoListParagraph" style="margin:0cm 0cm 0cm 18pt;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB">Looking at the code (at retems-qual-only), the macros are defined
alongside and right after the function’s declarations (redirecting
function calls to the values of the _Watchdog_Ticks_per_second and
_Watchdog_Ticks_since_boot, respectively).<span></span></span></li><ul style="margin-top:0cm;margin-bottom:0cm" type="circle"><li class="gmail-MsoListParagraph" style="margin:0cm 0cm 0cm 18pt;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB">So, rtems_clock_get_ticks_per_second and
rtems_clock_get_ticks_since_boot macros will be used in the
qual-only setup, whereas ICD tells us that these macros are “not included
in the pre-qualified feature set”.<span></span></span></li></ul></ul>
<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB"><span> </span></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB">Can the
community help to clarify these points, and tell us what and how can one
improve the RTEMS SMP QDP w.r.t. this (at the documentation and qual-only
implementation level)?<span></span></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB"><span> </span></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB">Thanks in
advance for the clarifications,<span></span></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB"><span> </span></span></p>
<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="EN-GB">Kind
Regards<span></span></span></p>
<div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><br></div><div>Luís Alves</div><div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Critical Software</div><br></div></div></div></div></div></div></div></div>