1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
/*
* zipl boot loader error codes
*
* Copyright IBM Corp. 2012, 2017
*
* s390-tools is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef ERROR_H
#define ERROR_H
/************************************************************************
* zipl boot loader error codes (use decimal range 4500-4549)
*
* The error numbers are ABI. Do not change them!
************************************************************************/
/* I/O error: Enabling the IPL device failed */
#define EENABLE_DEV 0x00004500
/* I/O error: Disabling the IPL device failed */
#define EDISABLE_DEV 0x00004501
/* I/O error: The start subchannel command failed */
#define ESSCH 0x00004502
/* Internal error: The IPL type is incorrect */
#define EWRONGTYPE 0x00004510
/* Internal error */
#define EINTERNAL 0x00004511
/* Secure IPL error */
#define ESECUREBOOT 0x00004512
/* kdump: No operating system information was found */
#define EOS_INFO_MISSING 0x00004520
/* kdump: The checksum of the operating system information is incorrect */
#define EOS_INFO_CSUM_FAILED 0x00004521
/* kdump: The major version of the operating system information is too high */
#define EOS_INFO_VERSION 0x00004522
/* kdump: No crashkernel memory was defined */
#define EOS_INFO_NOCRASHKERNEL 0x00004523
/* kdump: HSA copy failed */
#define EHSA_COPY_FAILED 0x00004524
/************************************************************************
* The following codes are not ABI
************************************************************************/
#define ETIMEOUT 2
/*
* Stand-alone dump
*/
#define OK 0x00000000 /* Dump completed successfully */
#define EMEM 0x00004600 /* Device too small for dump */
#define EDEVNOTSUP 0x00004601 /* Device not supported */
#define EMEMCOUNT 0x00004602 /* Could not evaluate memory layout */
/*
* Multi-volume dump
*/
#define ENODEVNO 0x00004603 /* The devno does not exist */
#define ENOSIGN 0x00004604 /* No valid dump signature on device */
#define ENOTIME 0x00004605 /* The zipl time stamps do not match */
#define ENOMSS 0x00004606 /* Could not enable MSS */
/*
* PV error codes
*/
#define ENOPV 0x00004607 /* No support for PV */
#define EPV 0x00004608 /* PV error */
#endif /* ERROR_H */
|