iPXE
Defines | Functions
pcbios.h File Reference

PC-BIOS platform error codes. More...

#include <pxe_error.h>

Go to the source code of this file.

Defines

#define PLATFORM_TO_ERRNO(platform)   ( (platform) & 0xff )
 Convert platform error code to platform component of iPXE error code.
#define ERRNO_TO_PLATFORM(errno)   ( (errno) & 0xff )
 Convert iPXE error code to platform error code.
#define PLATFORM_ENOERR   PXENV_STATUS_SUCCESS
#define PLATFORM_E2BIG   PXENV_STATUS_BAD_FUNC
#define PLATFORM_EACCES   PXENV_STATUS_TFTP_ACCESS_VIOLATION
#define PLATFORM_EADDRINUSE   PXENV_STATUS_UDP_OPEN
#define PLATFORM_EADDRNOTAVAIL   PXENV_STATUS_UDP_OPEN
#define PLATFORM_EAFNOSUPPORT   PXENV_STATUS_UNSUPPORTED
#define PLATFORM_EAGAIN   PXENV_STATUS_FAILURE
#define PLATFORM_EALREADY   PXENV_STATUS_UDP_OPEN
#define PLATFORM_EBADF   PXENV_STATUS_TFTP_CLOSED
#define PLATFORM_EBADMSG   PXENV_STATUS_FAILURE
#define PLATFORM_EBUSY   PXENV_STATUS_OUT_OF_RESOURCES
#define PLATFORM_ECANCELED   PXENV_STATUS_BINL_CANCELED_BY_KEYSTROKE
#define PLATFORM_ECHILD   PXENV_STATUS_TFTP_FILE_NOT_FOUND
#define PLATFORM_ECONNABORTED   PXENV_STATUS_TFTP_CANNOT_READ_FROM_CONNECTION
#define PLATFORM_ECONNREFUSED   PXENV_STATUS_TFTP_CANNOT_OPEN_CONNECTION
#define PLATFORM_ECONNRESET   PXENV_STATUS_TFTP_CANNOT_READ_FROM_CONNECTION
#define PLATFORM_EDEADLK   PXENV_STATUS_FAILURE
#define PLATFORM_EDESTADDRREQ   PXENV_STATUS_BAD_FUNC
#define PLATFORM_EDOM   PXENV_STATUS_FAILURE
#define PLATFORM_EDQUOT   PXENV_STATUS_FAILURE
#define PLATFORM_EEXIST   PXENV_STATUS_FAILURE
#define PLATFORM_EFAULT   PXENV_STATUS_MCOPY_PROBLEM
#define PLATFORM_EFBIG   PXENV_STATUS_MCOPY_PROBLEM
#define PLATFORM_EHOSTUNREACH   PXENV_STATUS_ARP_TIMEOUT
#define PLATFORM_EIDRM   PXENV_STATUS_FAILURE
#define PLATFORM_EILSEQ   PXENV_STATUS_FAILURE
#define PLATFORM_EINPROGRESS   PXENV_STATUS_FAILURE
#define PLATFORM_EINTR   PXENV_STATUS_FAILURE
#define PLATFORM_EINVAL   PXENV_STATUS_BAD_FUNC
#define PLATFORM_EIO   PXENV_STATUS_TFTP_CANNOT_READ_FROM_CONNECTION
#define PLATFORM_EISCONN   PXENV_STATUS_UDP_OPEN
#define PLATFORM_EISDIR   PXENV_STATUS_FAILURE
#define PLATFORM_ELOOP   PXENV_STATUS_FAILURE
#define PLATFORM_EMFILE   PXENV_STATUS_OUT_OF_RESOURCES
#define PLATFORM_EMLINK   PXENV_STATUS_FAILURE
#define PLATFORM_EMSGSIZE   PXENV_STATUS_BAD_FUNC
#define PLATFORM_EMULTIHOP   PXENV_STATUS_FAILURE
#define PLATFORM_ENAMETOOLONG   PXENV_STATUS_FAILURE
#define PLATFORM_ENETDOWN   PXENV_STATUS_ARP_TIMEOUT
#define PLATFORM_ENETRESET   PXENV_STATUS_FAILURE
#define PLATFORM_ENETUNREACH   PXENV_STATUS_ARP_TIMEOUT
#define PLATFORM_ENFILE   PXENV_STATUS_OUT_OF_RESOURCES
#define PLATFORM_ENOBUFS   PXENV_STATUS_OUT_OF_RESOURCES
#define PLATFORM_ENODATA   PXENV_STATUS_FAILURE
#define PLATFORM_ENODEV   PXENV_STATUS_TFTP_FILE_NOT_FOUND
#define PLATFORM_ENOENT   PXENV_STATUS_TFTP_FILE_NOT_FOUND
#define PLATFORM_ENOEXEC   PXENV_STATUS_FAILURE
#define PLATFORM_ENOLCK   PXENV_STATUS_FAILURE
#define PLATFORM_ENOLINK   PXENV_STATUS_FAILURE
#define PLATFORM_ENOMEM   PXENV_STATUS_OUT_OF_RESOURCES
#define PLATFORM_ENOMSG   PXENV_STATUS_FAILURE
#define PLATFORM_ENOPROTOOPT   PXENV_STATUS_UNSUPPORTED
#define PLATFORM_ENOSPC   PXENV_STATUS_OUT_OF_RESOURCES
#define PLATFORM_ENOSR   PXENV_STATUS_OUT_OF_RESOURCES
#define PLATFORM_ENOSTR   PXENV_STATUS_FAILURE
#define PLATFORM_ENOSYS   PXENV_STATUS_UNSUPPORTED
#define PLATFORM_ENOTCONN   PXENV_STATUS_FAILURE
#define PLATFORM_ENOTDIR   PXENV_STATUS_FAILURE
#define PLATFORM_ENOTEMPTY   PXENV_STATUS_FAILURE
#define PLATFORM_ENOTSOCK   PXENV_STATUS_FAILURE
#define PLATFORM_ENOTSUP   PXENV_STATUS_UNSUPPORTED
#define PLATFORM_ENOTTY   PXENV_STATUS_FAILURE
#define PLATFORM_ENXIO   PXENV_STATUS_TFTP_FILE_NOT_FOUND
#define PLATFORM_EOPNOTSUPP   PXENV_STATUS_UNSUPPORTED
#define PLATFORM_EOVERFLOW   PXENV_STATUS_FAILURE
#define PLATFORM_EPERM   PXENV_STATUS_TFTP_ACCESS_VIOLATION
#define PLATFORM_EPIPE   PXENV_STATUS_FAILURE
#define PLATFORM_EPROTO   PXENV_STATUS_FAILURE
#define PLATFORM_EPROTONOSUPPORT   PXENV_STATUS_UNSUPPORTED
#define PLATFORM_EPROTOTYPE   PXENV_STATUS_FAILURE
#define PLATFORM_ERANGE   PXENV_STATUS_FAILURE
#define PLATFORM_EROFS   PXENV_STATUS_FAILURE
#define PLATFORM_ESPIPE   PXENV_STATUS_FAILURE
#define PLATFORM_ESRCH   PXENV_STATUS_TFTP_FILE_NOT_FOUND
#define PLATFORM_ESTALE   PXENV_STATUS_FAILURE
#define PLATFORM_ETIME   PXENV_STATUS_FAILURE
#define PLATFORM_ETIMEDOUT   PXENV_STATUS_TFTP_READ_TIMEOUT
#define PLATFORM_ETXTBSY   PXENV_STATUS_FAILURE
#define PLATFORM_EWOULDBLOCK   PXENV_STATUS_TFTP_OPEN
#define PLATFORM_EXDEV   PXENV_STATUS_FAILURE

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)

Detailed Description

PC-BIOS platform error codes.

We use the PXE-specified error codes as the platform error codes for the PC-BIOS platform.

Definition in file pcbios.h.


Define Documentation

#define PLATFORM_TO_ERRNO (   platform)    ( (platform) & 0xff )

Convert platform error code to platform component of iPXE error code.

Parameters:
platformPlatform error code
Return values:
errnoPlatform component of iPXE error code

Definition at line 23 of file pcbios.h.

#define ERRNO_TO_PLATFORM (   errno)    ( (errno) & 0xff )

Convert iPXE error code to platform error code.

Parameters:
errnoiPXE error code
Return values:
platformPlatform error code

Definition at line 31 of file pcbios.h.

Definition at line 34 of file pcbios.h.

Definition at line 35 of file pcbios.h.

Definition at line 36 of file pcbios.h.

Definition at line 37 of file pcbios.h.

Definition at line 38 of file pcbios.h.

Definition at line 39 of file pcbios.h.

Definition at line 40 of file pcbios.h.

Definition at line 41 of file pcbios.h.

Definition at line 42 of file pcbios.h.

Definition at line 43 of file pcbios.h.

Definition at line 44 of file pcbios.h.

Definition at line 45 of file pcbios.h.

Definition at line 46 of file pcbios.h.

Definition at line 47 of file pcbios.h.

Definition at line 48 of file pcbios.h.

Definition at line 49 of file pcbios.h.

Definition at line 50 of file pcbios.h.

Definition at line 51 of file pcbios.h.

Definition at line 52 of file pcbios.h.

Definition at line 53 of file pcbios.h.

Definition at line 54 of file pcbios.h.

Definition at line 55 of file pcbios.h.

Definition at line 56 of file pcbios.h.

Definition at line 57 of file pcbios.h.

Definition at line 58 of file pcbios.h.

Definition at line 59 of file pcbios.h.

Definition at line 60 of file pcbios.h.

Definition at line 61 of file pcbios.h.

Definition at line 62 of file pcbios.h.

Definition at line 63 of file pcbios.h.

Definition at line 64 of file pcbios.h.

Definition at line 65 of file pcbios.h.

Definition at line 66 of file pcbios.h.

Definition at line 67 of file pcbios.h.

Definition at line 68 of file pcbios.h.

Definition at line 69 of file pcbios.h.

Definition at line 70 of file pcbios.h.

Definition at line 71 of file pcbios.h.

Definition at line 72 of file pcbios.h.

Definition at line 73 of file pcbios.h.

Definition at line 74 of file pcbios.h.

Definition at line 75 of file pcbios.h.

Definition at line 76 of file pcbios.h.

Definition at line 77 of file pcbios.h.

Definition at line 78 of file pcbios.h.

Definition at line 79 of file pcbios.h.

Definition at line 80 of file pcbios.h.

Definition at line 81 of file pcbios.h.

Definition at line 82 of file pcbios.h.

Definition at line 83 of file pcbios.h.

Definition at line 84 of file pcbios.h.

Definition at line 85 of file pcbios.h.

Definition at line 86 of file pcbios.h.

Definition at line 87 of file pcbios.h.

Definition at line 88 of file pcbios.h.

Definition at line 89 of file pcbios.h.

Definition at line 90 of file pcbios.h.

Definition at line 91 of file pcbios.h.

Definition at line 92 of file pcbios.h.

Definition at line 93 of file pcbios.h.

Definition at line 94 of file pcbios.h.

Definition at line 95 of file pcbios.h.

Definition at line 96 of file pcbios.h.

Definition at line 97 of file pcbios.h.

Definition at line 98 of file pcbios.h.

Definition at line 99 of file pcbios.h.

Definition at line 100 of file pcbios.h.

Definition at line 101 of file pcbios.h.

Definition at line 102 of file pcbios.h.

Definition at line 103 of file pcbios.h.

Definition at line 104 of file pcbios.h.

Definition at line 105 of file pcbios.h.

Definition at line 106 of file pcbios.h.

Definition at line 107 of file pcbios.h.

Definition at line 108 of file pcbios.h.

Definition at line 109 of file pcbios.h.

Definition at line 110 of file pcbios.h.

Definition at line 111 of file pcbios.h.

Definition at line 112 of file pcbios.h.

Definition at line 113 of file pcbios.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )