RTEMS 6.3
Loading...
Searching...
No Matches
spec:/bsp/sparc/leon3/val/fatal-cache-snooping-disabled-secondary

Tests a fatal error. More...

Files

file  testsuites/validation/bsps/tr-fatal-sparc-leon3-cache-snooping-disabled-secondary.c
file  testsuites/validation/bsps/tr-fatal-sparc-leon3-cache-snooping-disabled-secondary.h

Data Structures

struct  BspSparcLeon3ValFatalCacheSnoopingDisabledSecondary_Context
 Test context for spec:/bsp/sparc/leon3/val/fatal-cache-snooping-disabled-secondary test case. More...

Functions

void __real_bsp_start_on_secondary_processor (struct Per_CPU_Control *cpu_self)
void __wrap_bsp_start_on_secondary_processor (struct Per_CPU_Control *cpu_self)
void BspSparcLeon3ValFatalCacheSnoopingDisabledSecondary_Run (rtems_fatal_source source, rtems_fatal_code code)
 Runs the parameterized test case.

Detailed Description

Tests a fatal error.

This test case performs the following actions:

  • The test action is carried out by the wrapped bsp_start_on_secondary_processor() function.
    • Check that the expected fatal source is present.
    • Check that the expected fatal code is present.

Function Documentation

◆ BspSparcLeon3ValFatalCacheSnoopingDisabledSecondary_Run()

void BspSparcLeon3ValFatalCacheSnoopingDisabledSecondary_Run ( rtems_fatal_source source,
rtems_fatal_code code )

Runs the parameterized test case.

Parameters
sourceis fatal source.
codeis fatal code.