+++ /dev/null
-/** @file\r
- This header defines the human readable descriptions of the errors declared\r
- in errno.h.\r
-\r
- The string literals defined in this file must be kept in sync with the\r
- error numbers declared in <errno.h>. This is because the error numbers are\r
- used to index into the sys_errlist array to retrieve its associated\r
- string literal.\r
-\r
- Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials are licensed and made available under\r
- the terms and conditions of the BSD License that accompanies this distribution.\r
- The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php.\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-#include <LibConfig.h>\r
-#include <sys/EfiCdefs.h>\r
-\r
-/* Describe the error numbers, sequentially, beginning at 0. */\r
-const char *const\r
-sys_errlist[] = {\r
- "No Error Detected", /* 0 errno reset or no error yet detected */\r
- "Operation not permitted", /* 1 EPERM */\r
- "No such file or directory", /* 2 ENOENT */\r
- "No such process", /* 3 ESRCH */\r
- "Interrupted system call", /* 4 EINTR */\r
- "Input/output error", /* 5 EIO */\r
- "Device not configured", /* 6 ENXIO */\r
- "Argument list too long", /* 7 E2BIG */\r
- "Exec format error", /* 8 ENOEXEC */\r
- "Bad file descriptor", /* 9 EBADF */\r
- "No child processes", /* 10 ECHILD */\r
- "Resource deadlock avoided", /* 11 EDEADLK */\r
- "Cannot allocate memory", /* 12 ENOMEM */\r
- "Permission denied", /* 13 EACCES */\r
- "Bad address", /* 14 EFAULT */\r
- "Block device required", /* 15 ENOTBLK */\r
- "Device busy", /* 16 EBUSY */\r
- "File exists", /* 17 EEXIST */\r
- "Cross-device link", /* 18 EXDEV */\r
- "Operation not supported by device", /* 19 ENODEV */\r
- "Not a directory", /* 20 ENOTDIR */\r
- "Is a directory", /* 21 EISDIR */\r
- "Invalid argument", /* 22 EINVAL */\r
- "Too many open files in system", /* 23 ENFILE */\r
- "Too many open files", /* 24 EMFILE */\r
- "Inappropriate ioctl for device", /* 25 ENOTTY */\r
- "Text file busy", /* 26 ETXTBSY */\r
- "File too large", /* 27 EFBIG */\r
- "No space left on device", /* 28 ENOSPC */\r
- "Illegal seek", /* 29 ESPIPE */\r
- "Read-only filesystem", /* 30 EROFS */\r
- "Too many links", /* 31 EMLINK */\r
- "Broken pipe", /* 32 EPIPE */\r
-\r
- /* math software -- these are the only two values required by the C Standard */\r
- "Numerical argument out of domain", /* 33 EDOM */\r
- "Result too large", /* 34 ERANGE */\r
-\r
- /* non-blocking and interrupt i/o */\r
- "Resource temporarily unavailable", /* 35 EAGAIN or EWOULDBLOCK */\r
- "Operation now in progress", /* 36 EINPROGRESS */\r
- "Operation already in progress", /* 37 EALREADY */\r
-\r
- /* ipc/network software -- argument errors */\r
- "Socket operation on non-socket", /* 38 ENOTSOCK */\r
- "Destination address required", /* 39 EDESTADDRREQ */\r
- "Message too long", /* 40 EMSGSIZE */\r
- "Protocol wrong type for socket", /* 41 EPROTOTYPE */\r
- "Protocol not available", /* 42 ENOPROTOOPT */\r
- "Protocol not supported", /* 43 EPROTONOSUPPORT */\r
- "Socket type not supported", /* 44 ESOCKTNOSUPPORT */\r
- "Operation not supported", /* 45 EOPNOTSUPP or ENOTSUP */\r
- "Protocol family not supported", /* 46 EPFNOSUPPORT */\r
- "Address family not supported by protocol family", /* 47 EAFNOSUPPORT */\r
- "Address already in use", /* 48 EADDRINUSE */\r
- "Can't assign requested address", /* 49 EADDRNOTAVAIL */\r
-\r
- /* ipc/network software -- operational errors */\r
- "Network is down", /* 50 ENETDOWN */\r
- "Network is unreachable", /* 51 ENETUNREACH */\r
- "Network dropped connection on reset", /* 52 ENETRESET */\r
- "Software caused connection abort", /* 53 ECONNABORTED */\r
- "Connection reset by peer", /* 54 ECONNRESET */\r
- "No buffer space available", /* 55 ENOBUFS */\r
- "Socket is already connected", /* 56 EISCONN */\r
- "Socket is not connected", /* 57 ENOTCONN */\r
- "Can't send after socket shutdown", /* 58 ESHUTDOWN */\r
- "Too many references: can't splice", /* 59 ETOOMANYREFS */\r
- "Operation timed out", /* 60 ETIMEDOUT */\r
- "Connection refused", /* 61 ECONNREFUSED */\r
- "Too many levels of symbolic links", /* 62 ELOOP */\r
- "File name too long", /* 63 ENAMETOOLONG */\r
- "Host is down", /* 64 EHOSTDOWN */\r
- "No route to host", /* 65 EHOSTUNREACH */\r
- "Directory not empty", /* 66 ENOTEMPTY */\r
-\r
- /* quotas, etc. */\r
- "Too many processes", /* 67 EPROCLIM */\r
- "Too many users", /* 68 EUSERS */\r
- "Disc quota exceeded", /* 69 EDQUOT */\r
-\r
- /* Network File System */\r
- "Stale NFS file handle", /* 70 ESTALE */\r
- "Too many levels of remote in path", /* 71 EREMOTE */\r
- "RPC struct is bad", /* 72 EBADRPC */\r
- "RPC version wrong", /* 73 ERPCMISMATCH */\r
- "RPC prog. not avail", /* 74 EPROGUNAVAIL */\r
- "Program version wrong", /* 75 EPROGMISMATCH */\r
- "Bad procedure for program", /* 76 EPROCUNAVAIL */\r
- "No locks available", /* 77 ENOLCK */\r
- "Function not implemented", /* 78 ENOSYS */\r
- "Inappropriate file type or format", /* 79 EFTYPE */\r
- "Authentication error", /* 80 EAUTH */\r
- "Need authenticator", /* 81 ENEEDAUTH */\r
- "Identifier removed", /* 82 EIDRM */\r
- "No message of desired type", /* 83 ENOMSG */\r
- "Value too large to be stored in data type", /* 84 EOVERFLOW */\r
- "Illegal byte sequence", /* 85 EILSEQ */\r
- "Bad errno 86", /* 86 ENOTHING_1 */\r
- "Operation canceled", /* 87 ECANCELED */\r
-\r
- "Bad message", /* 88 EBADMSG */\r
- "No message available", /* 89 ENODATA */\r
- "No STREAM resources", /* 90 ENOSR */\r
- "Not a STREAM", /* 91 ENOSTR */\r
- "STREAM ioctl timeout", /* 92 ETIME */\r
-\r
- "Attribute not found", /* 93 ENOATTR */\r
-\r
- "Programming error", /* 94 EDOOFUS */\r
-\r
- "Multihop attempted", /* 95 EMULTIHOP */\r
- "Link has been severed", /* 96 ENOLINK */\r
- "Protocol error", /* 97 EPROTO */\r
-\r
- "Buffer too small to hold result", /* 98 EBUFSIZE */\r
-\r
- "System Error list and errno.h are out-of-sync" /* EMAXERRORVAL - Should always be last. */\r
-};\r