From 30691a4b40973e4b20aad3a09e9dd706ac117511 Mon Sep 17 00:00:00 2001 From: "Ni, Ray" Date: Tue, 23 Mar 2021 09:15:27 +0800 Subject: [PATCH] UefiCpuPkg/SmmCommunication: Remove out-dated comments The comments in PiSmmCommunicationPei.c describe the whole memory layout of the SMRAM regarding the SMM communication. But SHA-1: 8b1d14939053b63d80355465649c50f9f391a64a PiSmmCommunicationSmm: Deprecate SMM Communication ACPI Table removed the code that produces the ACPI Table. This change updates the accordingly comments. Signed-off-by: Ray Ni Reviewed-by: Eric Dong Acked-by: Laszlo Ersek Cc: Rahul Kumar --- .../PiSmmCommunication/PiSmmCommunicationPei.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.c b/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.c index 68e5003ad4..110165b20b 100644 --- a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.c +++ b/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.c @@ -1,7 +1,7 @@ /** @file PiSmmCommunication PEI Driver. -Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
+Copyright (c) 2010 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -47,16 +47,10 @@ SPDX-License-Identifier: BSD-2-Clause-Patent +----------------------------------+<-- | EFI_SMM_COMMUNICATION_CONTEXT | | SwSmiNumber | <- SMRAM - | BufferPtrAddress |---------------- - +----------------------------------+ | - | - +----------------------------------+ | - | EFI_SMM_COMMUNICATION_ACPI_TABLE | | - | SwSmiNumber | <- AcpiTable | - | BufferPtrAddress |--- | - +----------------------------------+ | | - | | - +----------------------------------+<--------------- + | BufferPtrAddress |--- + +----------------------------------+ | + | + +----------------------------------+<-- | Communication Buffer Pointer | <- AcpiNvs +----------------------------------+--- |