repo: https://github.com/T-head-Semi/opensbi commit: 89182b257c8798e15e4c685c1af0c2862d528d2a Change-Id: I7b39d66729e0108661a6f4c9e28acbdb303684ea
24 lines
417 B
C
24 lines
417 B
C
/*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#ifndef __FDT_RESET_THEAD_H__
|
|
#define __FDT_RESET_THEAD_H__
|
|
|
|
#define MAX_CUSTOM_CSR 32
|
|
|
|
#ifndef __ASSEMBLER__
|
|
struct custom_csr {
|
|
unsigned long index;
|
|
unsigned long value;
|
|
};
|
|
|
|
u64 __fdt_reset_thead_csrr(void);
|
|
|
|
extern struct custom_csr custom_csr[MAX_CUSTOM_CSR];
|
|
extern u32 __reset_thead_csr_stub[];
|
|
|
|
#endif /* __ASSEMBLER__ */
|
|
|
|
#endif /* __FDT_RESET_THEAD_H__ */
|