Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | From 1fe74d7d5008aed61feb34a8d5d8b5f9144a58b2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Anton Antonov <Anton.Antonov@arm.com> |
| 3 | Date: Wed, 31 Aug 2022 16:33:13 +0100 |
| 4 | Subject: [PATCH] Update MM communication buffer address for qemuarm64 machine |
| 5 | |
| 6 | Upstream-Status: Inappropriate [qemuarm64 specific change] |
| 7 | Signed-off-by: Anton Antonov <Anton.Antonov@arm.com> |
| 8 | --- |
| 9 | components/rpc/mm_communicate/caller/linux/carveout.c | 4 ++-- |
| 10 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 11 | |
| 12 | diff --git a/components/rpc/mm_communicate/caller/linux/carveout.c b/components/rpc/mm_communicate/caller/linux/carveout.c |
| 13 | index e3cdf16f..62845d30 100644 |
| 14 | --- a/components/rpc/mm_communicate/caller/linux/carveout.c |
| 15 | +++ b/components/rpc/mm_communicate/caller/linux/carveout.c |
| 16 | @@ -12,8 +12,8 @@ |
| 17 | #include "carveout.h" |
| 18 | |
| 19 | /* Need to be aligned with carve-out used by StMM or smm-gateway. */ |
| 20 | -static const off_t carveout_pa = 0x0000000881000000; |
| 21 | -static const size_t carveout_len = 0x8000; |
| 22 | +static const off_t carveout_pa = 0x42000000; |
| 23 | +static const size_t carveout_len = 0x1000; |
| 24 | |
| 25 | int carveout_claim(uint8_t **buf, size_t *buf_size) |
| 26 | { |
| 27 | -- |
| 28 | 2.25.1 |
| 29 | |