RAS_BLOCK_NULL Exported Data Structure

Purpose

Allows for the silent failure of ras_register calls due to memory allocation errors.

Syntax

#include <sys/ras.h>

extern const ras_block_t RAS_BLOCK_NULL

Description

The RAS_BLOCK_NULL data structure allows components to go through their normal code paths when they receive an ENOMEM error from the ras_register kernel service. The presence of this data structure does not need to be explicitly checked by callers of RAS functions. All RAS domain functions (such as Component Tracing) are disabled with this control block.