summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2019-04-01 17:05:53 -0700
committerAnup Patel <[email protected]>2019-04-03 09:57:42 +0530
commit1eba298b0d1be5c1d9d7d4c07a8a18e9613bcb44 (patch)
tree9c2754050da609f6d47a39d51a5069fb9fa9c799 /include
parentfd5418d92cf3d72fe07971e4544662ac94b7963c (diff)
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 <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/sbi/sbi_scratch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi/sbi_scratch.h b/include/sbi/sbi_scratch.h
index 759e5648..800ffcfe 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__