mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-07-26 02:29:51 +02:00
d79382bbfe
* chore: run codespell on source/header files Fixes most reported typos discovered by codespell (while trying to be unopinionated about American vs. British English). * chore: run codespell on build/readme files
33 lines
1.3 KiB
C
33 lines
1.3 KiB
C
/* HERROR.H (C) Copyright Jan Jaeger, 2010-2012 */
|
|
/* Hercules Specific Error codes */
|
|
/* */
|
|
/* Released under "The Q Public License Version 1" */
|
|
/* (http://www.hercules-390.org/herclic.html) as modifications to */
|
|
/* Hercules. */
|
|
|
|
#ifndef _HERROR_H_
|
|
#define _HERROR_H_
|
|
|
|
/* Generic error 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: error configuring
|
|
a new CPU: either maxcpu CPUs
|
|
are already started or the
|
|
create_thread() call failed. */
|
|
|
|
#define HERRCPUONL (-3) /* CPU online: some CPUs are still
|
|
running (not all are stopped) */
|
|
|
|
/* Device related error codes */
|
|
|
|
#define HERRDEVIDA (-2) /* Invalid Device Address */
|
|
|
|
#endif // _HERROR_H_
|