blob: 2c21e6f10971e48059a281151f11711e0a432d0b [file] [log] [blame]
From 1fe74d7d5008aed61feb34a8d5d8b5f9144a58b2 Mon Sep 17 00:00:00 2001
From: Anton Antonov <Anton.Antonov@arm.com>
Date: Wed, 31 Aug 2022 16:33:13 +0100
Subject: [PATCH] Update MM communication buffer address for qemuarm64 machine
Upstream-Status: Inappropriate [qemuarm64 specific change]
Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
---
components/rpc/mm_communicate/caller/linux/carveout.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/rpc/mm_communicate/caller/linux/carveout.c b/components/rpc/mm_communicate/caller/linux/carveout.c
index e3cdf16f..62845d30 100644
--- a/components/rpc/mm_communicate/caller/linux/carveout.c
+++ b/components/rpc/mm_communicate/caller/linux/carveout.c
@@ -12,8 +12,8 @@
#include "carveout.h"
/* Need to be aligned with carve-out used by StMM or smm-gateway. */
-static const off_t carveout_pa = 0x0000000881000000;
-static const size_t carveout_len = 0x8000;
+static const off_t carveout_pa = 0x42000000;
+static const size_t carveout_len = 0x1000;
int carveout_claim(uint8_t **buf, size_t *buf_size)
{
--
2.25.1