aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/riscv/include/bits/errfile.h
blob: 03f98c2068e6b909ba30339edd80311682881e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _BITS_ERRFILE_H
#define _BITS_ERRFILE_H

/** @file
 *
 * RISC-V error file identifiers
 *
 */

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );

/**
 * @addtogroup errfile Error file identifiers
 * @{
 */

#define ERRFILE_sbi_reboot	( ERRFILE_ARCH | ERRFILE_CORE | 0x00000000 )
#define ERRFILE_hart		( ERRFILE_ARCH | ERRFILE_CORE | 0x00010000 )

/** @} */

#endif /* _BITS_ERRFILE_H */