set scratch and stack size to 8K

This commit is contained in:
haijiao.liu@sophgo.com
2023-05-26 10:44:44 +08:00
committed by xingxg2022
parent e1d3b68eeb
commit 4aab6f3263
2 changed files with 2 additions and 2 deletions

View File

@@ -136,7 +136,7 @@ struct sbi_platform_operations {
}; };
/** Platform default per-HART stack size for exception/interrupt handling */ /** Platform default per-HART stack size for exception/interrupt handling */
#define SBI_PLATFORM_DEFAULT_HART_STACK_SIZE 8192 #define SBI_PLATFORM_DEFAULT_HART_STACK_SIZE 16384
/** Representation of a platform */ /** Representation of a platform */
struct sbi_platform { struct sbi_platform {

View File

@@ -41,7 +41,7 @@
/** Offset of extra space in sbi_scratch */ /** Offset of extra space in sbi_scratch */
#define SBI_SCRATCH_EXTRA_SPACE_OFFSET (12 * __SIZEOF_POINTER__) #define SBI_SCRATCH_EXTRA_SPACE_OFFSET (12 * __SIZEOF_POINTER__)
/** Maximum size of sbi_scratch (4KB) */ /** Maximum size of sbi_scratch (4KB) */
#define SBI_SCRATCH_SIZE (0x1000) #define SBI_SCRATCH_SIZE (0x2000)
/* clang-format on */ /* clang-format on */