summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_scratch.h
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2019-04-02 03:05:53 +0300
committerAnup Patel <anup@brainfault.org>2019-04-03 07:27:42 +0300
commit1eba298b0d1be5c1d9d7d4c07a8a18e9613bcb44 (patch)
tree9c2754050da609f6d47a39d51a5069fb9fa9c799 /include/sbi/sbi_scratch.h
parentfd5418d92cf3d72fe07971e4544662ac94b7963c (diff)
downloadopensbi-1eba298b0d1be5c1d9d7d4c07a8a18e9613bcb44.tar.xz
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 <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi/sbi_scratch.h')
-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 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__