MOS Source Code
Loading...
Searching...
No Matches
fdt_strerror.c File Reference
#include "libfdt_env.h"
#include <fdt.h>
#include <libfdt.h>
#include "libfdt_internal.h"
+ Include dependency graph for fdt_strerror.c:

Go to the source code of this file.

Classes

struct  fdt_errtabent
 

Macros

#define FDT_ERRTABENT(val)
 
#define FDT_ERRTABSIZE   ((int)(sizeof(fdt_errtable) / sizeof(fdt_errtable[0])))
 

Functions

const char * fdt_strerror (int errval)
 

Variables

static struct fdt_errtabent fdt_errtable []
 

Macro Definition Documentation

◆ FDT_ERRTABENT

#define FDT_ERRTABENT ( val)
Value:
[(val)] = { .str = #val, }

Definition at line 18 of file fdt_strerror.c.

◆ FDT_ERRTABSIZE

#define FDT_ERRTABSIZE   ((int)(sizeof(fdt_errtable) / sizeof(fdt_errtable[0])))

Definition at line 44 of file fdt_strerror.c.

Referenced by fdt_strerror().

Function Documentation

◆ fdt_strerror()

const char * fdt_strerror ( int errval)

Definition at line 46 of file fdt_strerror.c.

Variable Documentation

◆ fdt_errtable

struct fdt_errtabent fdt_errtable[]
static
Initial value:
= {
[( 1 )] = { .str = " 1 ", } ,
[( 2 )] = { .str = " 2 ", } ,
[( 3 )] = { .str = " 3 ", } ,
[( 4 )] = { .str = " 4 ", } ,
[( 5 )] = { .str = " 5 ", } ,
[( 6 )] = { .str = " 6 ", } ,
[( 7 )] = { .str = " 7 ", } ,
[( 8 )] = { .str = " 8 ", } ,
[( 9 )] = { .str = " 9 ", } ,
[( 10 )] = { .str = " 10 ", } ,
[( 11 )] = { .str = " 11 ", } ,
[( 12 )] = { .str = " 12 ", } ,
[( 13 )] = { .str = " 13 ", } ,
[( 14 )] = { .str = " 14 ", } ,
[( 15 )] = { .str = " 15 ", } ,
[( 16 )] = { .str = " 16 ", } ,
[( 17 )] = { .str = " 17 ", } ,
[( 18 )] = { .str = " 18 ", } ,
[( 19 )] = { .str = " 19 ", } ,
}

Definition at line 21 of file fdt_strerror.c.

Referenced by fdt_strerror().