[RTEMS Project] #4267: Add rtems_get_target_hash()
RTEMS trac
trac at rtems.org
Wed Feb 24 07:20:40 UTC 2021
#4267: Add rtems_get_target_hash()
------------------------------+-----------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.1
Component: rtems | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
------------------------------+-----------------------------
Add a function to report a hash value characterizing the target system in
the test suite results.
{{{#!c
/* Generated from spec:/rtems/config/if/get-target-hash */
/**
* @ingroup RTEMSAPIConfig
*
* @brief Gets the RTEMS target hash.
*
* The target hash is calculated from BSP-specific values which
characterize a
* target system.
*
* @return Returns the pointer to the RTEMS target hash.
*
* @par Notes
* @parblock
* For example, the device tree, settings of the memory controller, a
serial
* number of a chip may be used to calculate the target hash.
*
* The target hash can be used to distinguish test suite results obtained
from
* different target systems.
* @endparblock
*
* @par Constraints
* @parblock
* The following constraints apply to this directive:
*
* * The directive may be called from within any runtime context.
*
* * The directive will not cause the calling task to be preempted.
* @endparblock
*/
const char *rtems_get_target_hash( void );
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4267>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list