summaryrefslogtreecommitdiffstats
path: root/src/arch/riscv/include/ipxe/xthead.h
blob: d0c9449efd9603b07656f6975f1e1dda48188226 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _IPXE_XTHEAD_H
#define _IPXE_XTHEAD_H

/** @file
 *
 * T-Head vendor extensions
 *
 */

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );

/** T-Head machine vendor ID */
#define THEAD_MVENDORID 0x5b7

/** T-Head SXSTATUS CSR */
#define THEAD_SXSTATUS 0x5c0
#define THEAD_SXSTATUS_THEADISAEE 0x00400000	/**< General ISA extensions */

extern int xthead_supported ( unsigned long feature );

#endif /* _IPXE_XTHEAD_H */