From: Ni, Ray Date: Tue, 23 Mar 2021 01:15:27 +0000 (+0800) Subject: UefiCpuPkg/SmmCommunication: Remove out-dated comments X-Git-Tag: edk2-stable202108~439 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=30691a4b40973e4b20aad3a09e9dd706ac117511 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 --- 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 +----------------------------------+--- |