diff --git a/include/sbi/sbi_platform.h b/include/sbi/sbi_platform.h index 546c0a61..47eebe4d 100644 --- a/include/sbi/sbi_platform.h +++ b/include/sbi/sbi_platform.h @@ -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 { diff --git a/include/sbi/sbi_scratch.h b/include/sbi/sbi_scratch.h index 2966188d..400b2c03 100644 --- a/include/sbi/sbi_scratch.h +++ b/include/sbi/sbi_scratch.h @@ -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 */