#4267 assigned enhancement

Add rtems_get_target_hash()

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 6.1
Component: rtems Version: 6
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Add a function to report a hash value characterizing the target system in the test suite results.

/* 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 );

Change History (7)

comment:1 Changed on Feb 26, 2021 at 8:26:06 AM by Sebastian Huber <sebastian.huber@…>

In 5f8bc83/rtems:

score: Add _IO_Base64url()

Update #4267.

comment:2 Changed on Feb 26, 2021 at 8:26:09 AM by Sebastian Huber <sebastian.huber@…>

In dea125d0/rtems:

score: Add Hash Handler

Update #4267.

comment:3 Changed on Feb 26, 2021 at 8:26:13 AM by Sebastian Huber <sebastian.huber@…>

In fb17af2/rtems:

rtems: Add rtems_get_target_hash()

Update #4267.

comment:4 Changed on Feb 26, 2021 at 8:26:16 AM by Sebastian Huber <sebastian.huber@…>

In bc6ffc3/rtems:

Add system initialization step for target hash

Update #4267.

comment:5 Changed on Feb 26, 2021 at 8:26:20 AM by Sebastian Huber <sebastian.huber@…>

In 7480c34/rtems:

bsps: Add default rtems_get_target_hash()

Update #4267.

comment:6 Changed on Feb 26, 2021 at 8:26:24 AM by Sebastian Huber <sebastian.huber@…>

In 74eff26c/rtems:

libtest: Report target hash

Update #4267.

comment:7 Changed on Feb 26, 2021 at 8:57:31 AM by Sebastian Huber <sebastian.huber@…>

In 2428a8ca/rtems:

build: Install <rtems/score/hash.h>

Update #4267.

Note: See TracTickets for help on using tickets.