forked from Mirrors/opensbi
include: Move RISCV_PLATFORM_xyz defines to sbi_platform.h
The struct sbi_platform related defines RISCV_PLATFORM_xyz should be in sbi_platform.h so that we can keep these defines in-sync with changes in struct sbi_platform. Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
@@ -69,11 +69,6 @@
|
||||
#error "Unexpected __SIZEOF_SHORT__"
|
||||
#endif
|
||||
|
||||
#define RISCV_PLATFORM_NAME_OFFSET (0x0)
|
||||
#define RISCV_PLATFORM_FEATURES_OFFSET (0x40)
|
||||
#define RISCV_PLATFORM_HART_COUNT_OFFSET (0x48)
|
||||
#define RISCV_PLATFORM_HART_STACK_SIZE_OFFSET (0x4c)
|
||||
|
||||
#define RISCV_TRAP_REGS_zero 0
|
||||
#define RISCV_TRAP_REGS_ra 1
|
||||
#define RISCV_TRAP_REGS_sp 2
|
||||
|
Reference in New Issue
Block a user