mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 23:41:23 +01:00
platform: Set per-HART stack size to 8KB in the template platform codes
The template platform codes should set per-HART stack size to 8KB to avoid possible mistakes of future platform ports. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
@@ -223,6 +223,6 @@ const struct sbi_platform platform = {
|
|||||||
.name = "platform-name",
|
.name = "platform-name",
|
||||||
.features = SBI_PLATFORM_DEFAULT_FEATURES,
|
.features = SBI_PLATFORM_DEFAULT_FEATURES,
|
||||||
.hart_count = 1,
|
.hart_count = 1,
|
||||||
.hart_stack_size = 4096,
|
.hart_stack_size = 8192,
|
||||||
.platform_ops_addr = (unsigned long)&platform_ops
|
.platform_ops_addr = (unsigned long)&platform_ops
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user