mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-10-23 12:21:14 +01:00
platform: Use one unified per-HART stack size macro for all platforms
As of today all platforms use 8KB of per-HART stack hence there is no need for each platform to define its own macro or use the magic number. Create one macro for all platforms. Platform still can use its own version if needed. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
1 parent
2343efd040
commit
72a0628c7e
12 files changed
+11
-14
No files matched your search
@@ -201,6 +201,6 @@ const struct sbi_platform platform = {
|
||||
.name = "ARIANE RISC-V",
|
||||
.features = SBI_ARIANE_FEATURES,
|
||||
.hart_count = ARIANE_HART_COUNT,
|
||||
.hart_stack_size = 8192,
|
||||
.hart_stack_size = SBI_PLATFORM_DEFAULT_HART_STACK_SIZE,
|
||||
.platform_ops_addr = (unsigned long)&platform_ops
|
||||
};
|
||||
Reference in new issue
Block a user