From 0cc6ca8bcefae780c2547854985d831e0ec847e6 Mon Sep 17 00:00:00 2001 From: Carl Lundin Date: Tue, 12 Nov 2024 14:25:44 -0800 Subject: [PATCH] Increase stack size to 64KiB --- drivers/src/memory_layout.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/src/memory_layout.rs b/drivers/src/memory_layout.rs index dccc3a43e7..a4314bc336 100644 --- a/drivers/src/memory_layout.rs +++ b/drivers/src/memory_layout.rs @@ -43,7 +43,7 @@ pub const AUTH_MAN_IMAGE_METADATA_LIST_ORG: u32 = 0x50006C00; pub const IDEVID_CSR_ORG: u32 = 0x50008800; pub const DATA_ORG: u32 = 0x50008C00; -pub const STACK_ORG: u32 = 0x5001A000; +pub const STACK_ORG: u32 = 0x5000f800; pub const ROM_STACK_ORG: u32 = 0x5001C000; pub const ESTACK_ORG: u32 = 0x5001F800; @@ -74,8 +74,8 @@ pub const DPE_SIZE: u32 = 5 * 1024; pub const PCR_RESET_COUNTER_SIZE: u32 = 1024; pub const AUTH_MAN_IMAGE_METADATA_MAX_SIZE: u32 = 7 * 1024; pub const IDEVID_CSR_SIZE: u32 = 1024; -pub const DATA_SIZE: u32 = 69 * 1024; -pub const STACK_SIZE: u32 = 22 * 1024; +pub const DATA_SIZE: u32 = 27 * 1024; +pub const STACK_SIZE: u32 = 64 * 1024; pub const ROM_STACK_SIZE: u32 = 14 * 1024; pub const ESTACK_SIZE: u32 = 1024; pub const ROM_ESTACK_SIZE: u32 = 1024;