acrn-hypervisor/hypervisor/include/lib/errno.h
Ziheng Li eb8bcb06b3 Update copyright year range in code headers
Modified the copyright year range in code, and corrected "int32_tel"
into "Intel" in two "hypervisor/include/debug/profiling.h" and
"hypervisor/include/debug/profiling_internal.h".

Tracked-On: #7559
Signed-off-by: Ziheng Li <ziheng.li@intel.com>
2022-07-15 11:48:35 +08:00

34 lines
801 B
C

/*
* Copyright (C) 2018-2022 Intel Corporation.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef ERRNO_H
#define ERRNO_H
/** Indicates that operation not permitted. */
#define EPERM 1
/** Indicates that there is IO error. */
#define EIO 5
/** Indicates that not enough memory. */
#define ENOMEM 12
/** Indicates Permission denied */
#define EACCES 13
/** Indicates there is fault. */
#define EFAULT 14
/** Indicates that target is busy. */
#define EBUSY 16
/** Indicates that no such dev. */
#define ENODEV 19
/** Indicates that argument is not valid. */
#define EINVAL 22
/** Indicates the operation is undefined. */
#define ENOTTY 25
/** Indicates the operation is obsoleted. */
#define ENOSYS 38
/** Indicates that timeout occurs. */
#define ETIMEDOUT 110
#endif /* ERRNO_H */