From 1eba298b0d1be5c1d9d7d4c07a8a18e9613bcb44 Mon Sep 17 00:00:00 2001 From: Atish Patra Date: Mon, 1 Apr 2019 17:05:53 -0700 Subject: lib: Increase the scratch space to 512 bytes. Currently scratch space per hart is 256 bytes. Increase it to 512 bytes to accomodate ipi queue. Signed-off-by: Atish Patra --- include/sbi/sbi_scratch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sbi/sbi_scratch.h') diff --git a/include/sbi/sbi_scratch.h b/include/sbi/sbi_scratch.h index 759e564..800ffcf 100644 --- a/include/sbi/sbi_scratch.h +++ b/include/sbi/sbi_scratch.h @@ -39,7 +39,7 @@ #define SBI_SCRATCH_TLB_INFO_OFFSET (16 * __SIZEOF_POINTER__) /** Maximum size of sbi_scratch and sbi_ipi_data */ -#define SBI_SCRATCH_SIZE (32 * __SIZEOF_POINTER__) +#define SBI_SCRATCH_SIZE (64 * __SIZEOF_POINTER__) #ifndef __ASSEMBLY__ -- cgit v1.2.3