#4267 closed enhancement (fixed)

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: qualification
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 (10)

comment:1 Changed on 02/26/21 at 08:26:06 by Sebastian Huber <sebastian.huber@…>

In 5f8bc83/rtems:

score: Add _IO_Base64url()

Update #4267.

comment:2 Changed on 02/26/21 at 08:26:09 by Sebastian Huber <sebastian.huber@…>

In dea125d0/rtems:

score: Add Hash Handler

Update #4267.

comment:3 Changed on 02/26/21 at 08:26:13 by Sebastian Huber <sebastian.huber@…>

In fb17af2/rtems:

rtems: Add rtems_get_target_hash()

Update #4267.

comment:4 Changed on 02/26/21 at 08:26:16 by Sebastian Huber <sebastian.huber@…>

In bc6ffc3/rtems:

Add system initialization step for target hash

Update #4267.

comment:5 Changed on 02/26/21 at 08:26:20 by Sebastian Huber <sebastian.huber@…>

In 7480c34/rtems:

bsps: Add default rtems_get_target_hash()

Update #4267.

comment:6 Changed on 02/26/21 at 08:26:24 by Sebastian Huber <sebastian.huber@…>

In 74eff26c/rtems:

libtest: Report target hash

Update #4267.

comment:7 Changed on 02/26/21 at 08:57:31 by Sebastian Huber <sebastian.huber@…>

In 2428a8ca/rtems:

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

Update #4267.

comment:8 Changed on 04/22/21 at 05:46:34 by Sebastian Huber <sebastian.huber@…>

In 29ce290/rtems-docs:

bsp-howto: Add target hash chapter

Update #4267.

comment:9 Changed on 06/18/21 at 09:24:45 by Sebastian Huber

Keywords: qualification added

comment:10 Changed on 10/04/22 at 08:19:19 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In 0fc5c03/rtems-docs:

c-user: Add application config info directives

Close #4267.
Close #4269.

Note: See TracTickets for help on using tickets.