acrn-hypervisor/hypervisor/include/lib/errno.h
Kaige Fu 91c1408197 HV: Reset physical core of lapic_pt vm when shutdown
The physical core of lapic_pt vm should be reset for security and
correctness when shutdown the vm.

Tracked-On: #2991
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-04-22 19:58:20 +08:00

30 lines
689 B
C

/*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* 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 that timeout occurs. */
#define ETIMEDOUT 110
#endif /* ERRNO_H */