aboutsummaryrefslogtreecommitdiff
path: root/platform/qemu/virt/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform/qemu/virt/platform.c')
-rw-r--r--platform/qemu/virt/platform.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/qemu/virt/platform.c b/platform/qemu/virt/platform.c
index fdc5a2c..92f34aa 100644
--- a/platform/qemu/virt/platform.c
+++ b/platform/qemu/virt/platform.c
@@ -21,7 +21,6 @@
/* clang-format off */
#define VIRT_HART_COUNT 8
-#define VIRT_HART_STACK_SIZE 8192
#define VIRT_TEST_ADDR 0x100000
#define VIRT_TEST_FINISHER_FAIL 0x3333
@@ -159,6 +158,6 @@ const struct sbi_platform platform = {
.name = "QEMU Virt Machine",
.features = SBI_PLATFORM_DEFAULT_FEATURES,
.hart_count = VIRT_HART_COUNT,
- .hart_stack_size = VIRT_HART_STACK_SIZE,
+ .hart_stack_size = SBI_PLATFORM_DEFAULT_HART_STACK_SIZE,
.platform_ops_addr = (unsigned long)&platform_ops
};