diff options
author | Anup Patel <anup.patel@wdc.com> | 2018-12-31 11:30:55 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-01-02 09:57:12 +0530 |
commit | 5ed3cf37073125a38ac839ad11de687f20286b33 (patch) | |
tree | f3d959f4e831882cd40361a19668184bbfaabdba /include/sbi/riscv_asm.h | |
parent | e0d6914b3c40c1609ccf196fa448ea6880ff23d5 (diff) |
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>
Diffstat (limited to 'include/sbi/riscv_asm.h')
-rw-r--r-- | include/sbi/riscv_asm.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/sbi/riscv_asm.h b/include/sbi/riscv_asm.h index c169d93..6fd7d5d 100644 --- a/include/sbi/riscv_asm.h +++ b/include/sbi/riscv_asm.h @@ -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 |