mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-13 07:25:22 +02:00
24 lines
826 B
C
24 lines
826 B
C
/* HERROR.H (c) Copyright Jan Jaeger, 2010-2012 */
|
|
/* Hercules Specfic Error codes */
|
|
|
|
#ifndef _HERROR_H
|
|
#define _HERROR_H
|
|
|
|
/* Generic codes */
|
|
#define HNOERROR (0) /* OK / NO ERROR */
|
|
#define HERROR (-1) /* Generic Error */
|
|
#define HERRINVCMD (-32767) /* Invalid command KEEP UNIQUE */
|
|
#define HERRTHREADACT (-5) /* Thread is still active */
|
|
/* CPU related error codes */
|
|
#define HERRCPUOFF (-2) /* CPU Offline */
|
|
#define HERRCPUONL (-3) /* CPU Online */
|
|
|
|
/* Device related error codes */
|
|
#define HERRDEVIDA (-2) /* Invalid Device Address */
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _HERROR_H */
|