projects
/
platform
/
kernel
/
opensbi-spacemit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9275ed3
)
platform: Set per-HART stack size to 8KB in the template platform codes
author
Bin Meng
<bmeng.cn@gmail.com>
Fri, 13 Mar 2020 05:39:53 +0000
(22:39 -0700)
committer
Anup Patel
<anup@brainfault.org>
Sat, 14 Mar 2020 03:43:20 +0000
(09:13 +0530)
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>
platform/template/platform.c
patch
|
blob
|
history
diff --git
a/platform/template/platform.c
b/platform/template/platform.c
index
60b65ea
..
74ac9f4
100644
(file)
--- a/
platform/template/platform.c
+++ b/
platform/template/platform.c
@@
-223,6
+223,6
@@
const struct sbi_platform platform = {
.name = "platform-name",
.features = SBI_PLATFORM_DEFAULT_FEATURES,
.hart_count = 1,
- .hart_stack_size =
4096
,
+ .hart_stack_size =
8192
,
.platform_ops_addr = (unsigned long)&platform_ops
};