mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-24 04:53:23 +00:00
fix: Fix stack related errors (#1167)
* fix: Fix stack related errors Increase kernel stack to 32k. Add a stack overflow test. Remove manual placement of guard pages Signed-off-by: Godones <chenlinfeng25@outlook.com> * fix: update userstack comments Signed-off-by: Godones <chenlinfeng25@outlook.com> --------- Signed-off-by: Godones <chenlinfeng25@outlook.com>
This commit is contained in:
32
user/dadk/config/test_stack_0_1_0.toml
Normal file
32
user/dadk/config/test_stack_0_1_0.toml
Normal file
@ -0,0 +1,32 @@
|
||||
# 用户程序名称
|
||||
name = "test_stack"
|
||||
# 版本号
|
||||
version = "0.1.0"
|
||||
# 用户程序描述信息
|
||||
description = "test_stack"
|
||||
# 目标架构
|
||||
target-arch = ["x86_64"]
|
||||
|
||||
# 任务源
|
||||
[task-source]
|
||||
# 构建类型
|
||||
type = "build-from-source"
|
||||
# 构建来源
|
||||
source = "local"
|
||||
# 路径或URL
|
||||
source-path = "user/apps/test_stack"
|
||||
|
||||
# 构建相关信息
|
||||
[build]
|
||||
# (可选)构建命令
|
||||
build-command = "make install"
|
||||
|
||||
# 安装相关信息
|
||||
[install]
|
||||
# (可选)安装到DragonOS的路径
|
||||
in-dragonos-path = "/bin"
|
||||
|
||||
# 清除相关信息
|
||||
[clean]
|
||||
# (可选)清除命令
|
||||
clean-command = "make clean"
|
Reference in New Issue
Block a user