set scratch and stack size to 8K
This commit is contained in:
committed by
xingxg2022
parent
e1d3b68eeb
commit
4aab6f3263
@@ -136,7 +136,7 @@ struct sbi_platform_operations {
|
||||
};
|
||||
|
||||
/** 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 */
|
||||
struct sbi_platform {
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
/** Offset of extra space in sbi_scratch */
|
||||
#define SBI_SCRATCH_EXTRA_SPACE_OFFSET (12 * __SIZEOF_POINTER__)
|
||||
/** Maximum size of sbi_scratch (4KB) */
|
||||
#define SBI_SCRATCH_SIZE (0x1000)
|
||||
#define SBI_SCRATCH_SIZE (0x2000)
|
||||
|
||||
/* clang-format on */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user