iPXE
errortab.h
Go to the documentation of this file.
1 #ifndef _IPXE_ERRORTAB_H
2 #define _IPXE_ERRORTAB_H
3 
4 /** @file
5  *
6  * Error message tables
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 FILE_SECBOOT ( PERMITTED );
12 
13 #include <ipxe/tables.h>
14 
15 struct errortab {
16  int errno;
17  const char *text;
18 };
19 
20 #define ERRORTAB __table ( struct errortab, "errortab" )
21 
22 #define __errortab __table_entry ( ERRORTAB, 01 )
23 
24 #define __einfo_errortab( einfo ) { \
25  .errno = __einfo_errno ( einfo ), \
26  .text = __einfo_desc ( einfo ), \
27  }
28 
29 #endif /* _IPXE_ERRORTAB_H */
int errno
Definition: errortab.h:16
FILE_SECBOOT(PERMITTED)
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
const char * text
Definition: errortab.h:17
Linker tables.