TianoCore EDK2 master
Loading...
Searching...
No Matches
EFI_DEBUG_ASSERT_DATA Struct Reference

#include <MdePkg/Include/Guid/StatusCodeDataTypeId.h>

Data Fields

EFI_STATUS_CODE_DATA DataHeader
 
UINT32 LineNumber
 
UINT32 FileNameSize
 
EFI_STATUS_CODE_STRING_DATA * FileName
 

Detailed Description

This structure provides the assert information that is typically associated with a debug assertion failing.

The data indicates the location of the assertion that failed in the source code. This information includes the file name and line number that are necessary to find the failing assertion in source code.

Definition at line 645 of file StatusCodeDataTypeId.h.

Field Documentation

◆ DataHeader

EFI_STATUS_CODE_DATA EFI_DEBUG_ASSERT_DATA::DataHeader

The data header identifying the data. DataHeader.HeaderSize should be sizeof (EFI_STATUS_CODE_DATA), DataHeader.Size should be sizeof (EFI_DEBUG_ASSERT_DATA) - HeaderSize , and DataHeader.Type should be EFI_STATUS_CODE_SPECIFIC_DATA_GUID.

Definition at line 652 of file StatusCodeDataTypeId.h.

◆ FileName

EFI_STATUS_CODE_STRING_DATA* EFI_DEBUG_ASSERT_DATA::FileName

A pointer to a NULL-terminated ASCII or Unicode string that represents the file name of the source file where the fault was generated.

Definition at line 665 of file StatusCodeDataTypeId.h.

◆ FileNameSize

UINT32 EFI_DEBUG_ASSERT_DATA::FileNameSize

The size in bytes of FileName.

Definition at line 660 of file StatusCodeDataTypeId.h.

◆ LineNumber

UINT32 EFI_DEBUG_ASSERT_DATA::LineNumber

The line number of the source file where the fault was generated.

Definition at line 656 of file StatusCodeDataTypeId.h.


The documentation for this struct was generated from the following file: