summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_error.h
blob: 955674eae8a6b8f3139c67ee84960f771da54fad (plain)
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
/*
 * Copyright (c) 2018 Western Digital Corporation or its affiliates.
 *
 * Authors:
 *   Anup Patel <anup.patel@wdc.com>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#ifndef __SBI_ERROR_H__
#define __SBI_ERROR_H__

#define SBI_OK		0
#define SBI_EUNKNOWN	-1
#define SBI_EFAIL	-2
#define SBI_EINVAL	-3
#define SBI_ENOENT	-4
#define SBI_ENOTSUPP	-5
#define SBI_ENODEV	-6
#define SBI_ENOSYS	-7
#define SBI_ETIMEDOUT	-8
#define SBI_EIO		-9
#define SBI_EILL	-10

#endif