cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

target_errno_defs.h (9135B)


      1#ifndef SPARC_TARGET_ERRNO_DEFS_H
      2#define SPARC_TARGET_ERRNO_DEFS_H
      3
      4#include "../generic/target_errno_defs.h"
      5
      6/*
      7 * Generic target errno overridden with definitions taken
      8 * from asm-sparc/errno.h
      9 */
     10#undef TARGET_EWOULDBLOCK
     11#define TARGET_EWOULDBLOCK     TARGET_EAGAIN /* Operation would block */
     12#undef TARGET_EINPROGRESS
     13#define TARGET_EINPROGRESS     36 /* Operation now in progress */
     14#undef TARGET_EALREADY
     15#define TARGET_EALREADY        37 /* Operation already in progress */
     16#undef TARGET_ENOTSOCK
     17#define TARGET_ENOTSOCK        38 /* Socket operation on non-socket */
     18#undef TARGET_EDESTADDRREQ
     19#define TARGET_EDESTADDRREQ    39 /* Destination address required */
     20#undef TARGET_EMSGSIZE
     21#define TARGET_EMSGSIZE        40 /* Message too long */
     22#undef TARGET_EPROTOTYPE
     23#define TARGET_EPROTOTYPE      41 /* Protocol wrong type for socket */
     24#undef TARGET_ENOPROTOOPT
     25#define TARGET_ENOPROTOOPT     42 /* Protocol not available */
     26#undef TARGET_EPROTONOSUPPORT
     27#define TARGET_EPROTONOSUPPORT  43 /* Protocol not supported */
     28#undef TARGET_ESOCKTNOSUPPORT
     29#define TARGET_ESOCKTNOSUPPORT  44 /* Socket type not supported */
     30#undef TARGET_EOPNOTSUPP
     31#define TARGET_EOPNOTSUPP      45 /* Op not supported on transport endpoint */
     32#undef TARGET_EPFNOSUPPORT
     33#define TARGET_EPFNOSUPPORT    46 /* Protocol family not supported */
     34#undef TARGET_EAFNOSUPPORT
     35#define TARGET_EAFNOSUPPORT    47 /* Address family not supported by protocol */
     36#undef TARGET_EADDRINUSE
     37#define TARGET_EADDRINUSE      48 /* Address already in use */
     38#undef TARGET_EADDRNOTAVAIL
     39#define TARGET_EADDRNOTAVAIL   49 /* Cannot assign requested address */
     40#undef TARGET_ENETDOWN
     41#define TARGET_ENETDOWN        50 /* Network is down */
     42#undef TARGET_ENETUNREACH
     43#define TARGET_ENETUNREACH     51 /* Network is unreachable */
     44#undef TARGET_ENETRESET
     45#define TARGET_ENETRESET       52 /* Net dropped connection because of reset */
     46#undef TARGET_ECONNABORTED
     47#define TARGET_ECONNABORTED    53 /* Software caused connection abort */
     48#undef TARGET_ECONNRESET
     49#define TARGET_ECONNRESET      54 /* Connection reset by peer */
     50#undef TARGET_ENOBUFS
     51#define TARGET_ENOBUFS         55 /* No buffer space available */
     52#undef TARGET_EISCONN
     53#define TARGET_EISCONN         56 /* Transport endpoint is already connected */
     54#undef TARGET_ENOTCONN
     55#define TARGET_ENOTCONN        57 /* Transport endpoint is not connected */
     56#undef TARGET_ESHUTDOWN
     57#define TARGET_ESHUTDOWN       58 /* No send after transport endpoint shutdown*/
     58#undef TARGET_ETOOMANYREFS
     59#define TARGET_ETOOMANYREFS    59 /* Too many references: cannot splice */
     60#undef TARGET_ETIMEDOUT
     61#define TARGET_ETIMEDOUT       60 /* Connection timed out */
     62#undef TARGET_ECONNREFUSED
     63#define TARGET_ECONNREFUSED    61 /* Connection refused */
     64#undef TARGET_ELOOP
     65#define TARGET_ELOOP           62 /* Too many symbolic links encountered */
     66#undef TARGET_ENAMETOOLONG
     67#define TARGET_ENAMETOOLONG    63 /* File name too long */
     68#undef TARGET_EHOSTDOWN
     69#define TARGET_EHOSTDOWN       64 /* Host is down */
     70#undef TARGET_EHOSTUNREACH
     71#define TARGET_EHOSTUNREACH    65 /* No route to host */
     72#undef TARGET_ENOTEMPTY
     73#define TARGET_ENOTEMPTY       66 /* Directory not empty */
     74#undef TARGET_EPROCLIM
     75#define TARGET_EPROCLIM        67 /* SUNOS: Too many processes */
     76#undef TARGET_EUSERS
     77#define TARGET_EUSERS          68 /* Too many users */
     78#undef TARGET_EDQUOT
     79#define TARGET_EDQUOT          69 /* Quota exceeded */
     80#undef TARGET_ESTALE
     81#define TARGET_ESTALE          70 /* Stale file handle */
     82#undef TARGET_EREMOTE
     83#define TARGET_EREMOTE         71 /* Object is remote */
     84#undef TARGET_ENOSTR
     85#define TARGET_ENOSTR          72 /* Device not a stream */
     86#undef TARGET_ETIME
     87#define TARGET_ETIME           73 /* Timer expired */
     88#undef TARGET_ENOSR
     89#define TARGET_ENOSR           74 /* Out of streams resources */
     90#undef TARGET_ENOMSG
     91#define TARGET_ENOMSG          75 /* No message of desired type */
     92#undef TARGET_EBADMSG
     93#define TARGET_EBADMSG         76 /* Not a data message */
     94#undef TARGET_EIDRM
     95#define TARGET_EIDRM           77 /* Identifier removed */
     96#undef TARGET_EDEADLK
     97#define TARGET_EDEADLK         78 /* Resource deadlock would occur */
     98#undef TARGET_ENOLCK
     99#define TARGET_ENOLCK          79 /* No record locks available */
    100#undef TARGET_ENONET
    101#define TARGET_ENONET          80 /* Machine is not on the network */
    102#undef TARGET_ERREMOTE
    103#define TARGET_ERREMOTE        81 /* SunOS: Too many lvls of remote in path */
    104#undef TARGET_ENOLINK
    105#define TARGET_ENOLINK         82 /* Link has been severed */
    106#undef TARGET_EADV
    107#define TARGET_EADV            83 /* Advertise error */
    108#undef TARGET_ESRMNT
    109#define TARGET_ESRMNT          84 /* Srmount error */
    110#undef TARGET_ECOMM
    111#define TARGET_ECOMM           85 /* Communication error on send */
    112#undef TARGET_EPROTO
    113#define TARGET_EPROTO          86 /* Protocol error */
    114#undef TARGET_EMULTIHOP
    115#define TARGET_EMULTIHOP       87 /* Multihop attempted */
    116#undef TARGET_EDOTDOT
    117#define TARGET_EDOTDOT         88 /* RFS specific error */
    118#undef TARGET_EREMCHG
    119#define TARGET_EREMCHG         89 /* Remote address changed */
    120#undef TARGET_ENOSYS
    121#define TARGET_ENOSYS          90 /* Function not implemented */
    122#undef TARGET_ESTRPIPE
    123#define TARGET_ESTRPIPE        91 /* Streams pipe error */
    124#undef TARGET_EOVERFLOW
    125#define TARGET_EOVERFLOW       92 /* Value too large for defined data type */
    126#undef TARGET_EBADFD
    127#define TARGET_EBADFD          93 /* File descriptor in bad state */
    128#undef TARGET_ECHRNG
    129#define TARGET_ECHRNG          94 /* Channel number out of range */
    130#undef TARGET_EL2NSYNC
    131#define TARGET_EL2NSYNC        95 /* Level 2 not synchronized */
    132#undef TARGET_EL3HLT
    133#define TARGET_EL3HLT          96 /* Level 3 halted */
    134#undef TARGET_EL3RST
    135#define TARGET_EL3RST          97 /* Level 3 reset */
    136#undef TARGET_ELNRNG
    137#define TARGET_ELNRNG          98 /* Link number out of range */
    138#undef TARGET_EUNATCH
    139#define TARGET_EUNATCH         99 /* Protocol driver not attached */
    140#undef TARGET_ENOCSI
    141#define TARGET_ENOCSI          100 /* No CSI structure available */
    142#undef TARGET_EL2HLT
    143#define TARGET_EL2HLT          101 /* Level 2 halted */
    144#undef TARGET_EBADE
    145#define TARGET_EBADE           102 /* Invalid exchange */
    146#undef TARGET_EBADR
    147#define TARGET_EBADR           103 /* Invalid request descriptor */
    148#undef TARGET_EXFULL
    149#define TARGET_EXFULL          104 /* Exchange full */
    150#undef TARGET_ENOANO
    151#define TARGET_ENOANO          105 /* No anode */
    152#undef TARGET_EBADRQC
    153#define TARGET_EBADRQC         106 /* Invalid request code */
    154#undef TARGET_EBADSLT
    155#define TARGET_EBADSLT         107 /* Invalid slot */
    156#undef TARGET_EDEADLOCK
    157#define TARGET_EDEADLOCK       108 /* File locking deadlock error */
    158#undef TARGET_EBFONT
    159#define TARGET_EBFONT          109 /* Bad font file format */
    160#undef TARGET_ELIBEXEC
    161#define TARGET_ELIBEXEC        110 /* Cannot exec a shared library directly */
    162#undef TARGET_ENODATA
    163#define TARGET_ENODATA         111 /* No data available */
    164#undef TARGET_ELIBBAD
    165#define TARGET_ELIBBAD         112 /* Accessing a corrupted shared library */
    166#undef TARGET_ENOPKG
    167#define TARGET_ENOPKG          113 /* Package not installed */
    168#undef TARGET_ELIBACC
    169#define TARGET_ELIBACC         114 /* Can not access a needed shared library */
    170#undef TARGET_ENOTUNIQ
    171#define TARGET_ENOTUNIQ        115 /* Name not unique on network */
    172#undef TARGET_ERESTART
    173#define TARGET_ERESTART        116 /* Interrupted syscall should be restarted */
    174#undef TARGET_EUCLEAN
    175#define TARGET_EUCLEAN         117 /* Structure needs cleaning */
    176#undef TARGET_ENOTNAM
    177#define TARGET_ENOTNAM         118 /* Not a XENIX named type file */
    178#undef TARGET_ENAVAIL
    179#define TARGET_ENAVAIL         119 /* No XENIX semaphores available */
    180#undef TARGET_EISNAM
    181#define TARGET_EISNAM          120 /* Is a named type file */
    182#undef TARGET_EREMOTEIO
    183#define TARGET_EREMOTEIO       121 /* Remote I/O error */
    184#undef TARGET_EILSEQ
    185#define TARGET_EILSEQ          122 /* Illegal byte sequence */
    186#undef TARGET_ELIBMAX
    187#define TARGET_ELIBMAX         123 /* Atmpt to link in too many shared libs */
    188#undef TARGET_ELIBSCN
    189#define TARGET_ELIBSCN         124 /* .lib section in a.out corrupted */
    190#undef TARGET_ENOMEDIUM
    191#define TARGET_ENOMEDIUM       125 /* No medium found */
    192#undef TARGET_EMEDIUMTYPE
    193#define TARGET_EMEDIUMTYPE     126 /* Wrong medium type */
    194#undef TARGET_ECANCELED
    195#define TARGET_ECANCELED       127 /* Operation Cancelled */
    196#undef TARGET_ENOKEY
    197#define TARGET_ENOKEY          128 /* Required key not available */
    198#undef TARGET_EKEYEXPIRED
    199#define TARGET_EKEYEXPIRED     129 /* Key has expired */
    200#undef TARGET_EKEYREVOKED
    201#define TARGET_EKEYREVOKED     130 /* Key has been revoked */
    202#undef TARGET_EKEYREJECTED
    203#define TARGET_EKEYREJECTED    131 /* Key was rejected by service */
    204#undef TARGET_EOWNERDEAD
    205#define TARGET_EOWNERDEAD      132 /* Owner died */
    206#undef TARGET_ENOTRECOVERABLE
    207#define TARGET_ENOTRECOVERABLE  133 /* State not recoverable */
    208#undef TARGET_ERFKILL
    209#define TARGET_ERFKILL         134 /* Operation not possible due to RF-kill */
    210#undef TARGET_EHWPOISON
    211#define TARGET_EHWPOISON       135 /* Memory page has hardware error */
    212#endif