Avoid using code name in comments.
Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12552 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -51,7 +51,7 @@ GetSrmamHobData (
|
||||
|
||||
/**
|
||||
This routine will split SmramReserve hob to reserve 1 page for SMRAM content in S3 phase
|
||||
for R9 SMM core.
|
||||
for PI SMM core.
|
||||
|
||||
@retval EFI_SUCCESS The gEfiSmmPeiSmramMemoryReserveGuid is splited successfully.
|
||||
@retval EFI_NOT_FOUND The gEfiSmmPeiSmramMemoryReserveGuid is not found.
|
||||
@@ -108,7 +108,7 @@ SplitSmramReserveHob (
|
||||
|
||||
ASSERT (SmramRanges >= 1);
|
||||
//
|
||||
// Copy last entry to the end - we assume TSEG is last entry, which is same assumption as R8 CPU/SMM driver
|
||||
// Copy last entry to the end - we assume TSEG is last entry, which is same assumption as Framework CPU/SMM driver
|
||||
//
|
||||
CopyMem (&NewDescriptorBlock->Descriptor[SmramRanges], &NewDescriptorBlock->Descriptor[SmramRanges - 1], sizeof(EFI_SMRAM_DESCRIPTOR));
|
||||
|
||||
@@ -126,7 +126,7 @@ SplitSmramReserveHob (
|
||||
NewDescriptorBlock->Descriptor[SmramRanges].PhysicalSize -= EFI_PAGE_SIZE;
|
||||
|
||||
//
|
||||
// Now, we have created SmramReserve Hob for SmmAccess drive. But the issue is that, R8 SmmAccess will assume there is 2 SmramReserve region only.
|
||||
// Now, we have created SmramReserve Hob for SmmAccess drive. But the issue is that, Framework SmmAccess will assume there is 2 SmramReserve region only.
|
||||
// Reporting 3 SmramReserve region will cause buffer overflow. Moreover, we would like to filter AB-SEG or H-SEG to avoid SMM cache-poisoning issue.
|
||||
// So we uses scan SmmReserve Hob to remove AB-SEG or H-SEG.
|
||||
//
|
||||
@@ -170,7 +170,7 @@ SplitSmramReserveHob (
|
||||
|
||||
/**
|
||||
This routine will create AcpiVariable hob to point the reserved smram in S3 phase
|
||||
for R9 SMM core.
|
||||
for PI SMM core.
|
||||
|
||||
@retval EFI_SUCCESS The gEfiAcpiVariableGuid is created successfully.
|
||||
@retval EFI_NOT_FOUND The gEfiSmmPeiSmramMemoryReserveGuid is not found.
|
||||
@@ -233,7 +233,7 @@ AcpiVariableHobEntry (
|
||||
EFI_STATUS Status;
|
||||
|
||||
//
|
||||
// Split SmramReserve hob, which is required for R9 SMM Core for S3.
|
||||
// Split SmramReserve hob, which is required for PI SMM Core for S3.
|
||||
//
|
||||
Status = SplitSmramReserveHob ();
|
||||
if (EFI_ERROR (Status)) {
|
||||
@@ -241,7 +241,7 @@ AcpiVariableHobEntry (
|
||||
}
|
||||
|
||||
//
|
||||
// Create AcpiVariable hob, which is required for R9 SMM Core for S3.
|
||||
// Create AcpiVariable hob, which is required for PI SMM Core for S3.
|
||||
//
|
||||
Status = CreateAcpiVariableHob ();
|
||||
|
||||
|
@@ -7,12 +7,12 @@ drivers/apps that may have used Device I/O.
|
||||
Device I/O is on list of deprecated protocols for UEFI 2.0 and later.
|
||||
This module module layers Device I/O on top of PCI Root Bridge I/O (Segment 0)
|
||||
Use if:
|
||||
There are no R8.x modules present that produces Device I/O
|
||||
There are no EDK modules present that produces Device I/O
|
||||
EFI drivers included that consume Device I/O
|
||||
Platform required to support EFI drivers that consume Device I/O
|
||||
Platform required to support EFI applications that consume Device I/O
|
||||
|
||||
Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
|
@@ -4,12 +4,12 @@
|
||||
# Device I/O is on list of deprecated protocols for UEFI 2.0 and later.
|
||||
# This module layers Device I/O on top of PCI Root Bridge I/O (Segment 0)
|
||||
# Use if:
|
||||
# There are no R8.x modules present that produces Device I/O
|
||||
# There are no EDK modules present that produces Device I/O
|
||||
# EFI drivers included that consume Device I/O
|
||||
# Platform required to support EFI drivers that consume Device I/O
|
||||
# Platform required to support EFI applications that consume Device I/O
|
||||
#
|
||||
# Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
|
@@ -1,9 +1,9 @@
|
||||
/** @file
|
||||
DxeSmmReadyToLock Protocol on ExitPmAuth Protocol Thunk driver.
|
||||
R8 platform uses ExitPmAuth point to lock SMRAM and SMM API.
|
||||
But R9 uses DxeSmmReadyToLock. We need a thunk driver to convert this event.
|
||||
EDK platform uses ExitPmAuth point to lock SMRAM and SMM API.
|
||||
But EDKII uses DxeSmmReadyToLock. We need a thunk driver to convert this event.
|
||||
|
||||
Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions
|
||||
@@ -37,7 +37,7 @@ ExitPmAuthProtocolNotification (
|
||||
|
||||
//
|
||||
// Add more check to locate protocol after got event, because
|
||||
// R8 ECP will signal this event immediately once it is register
|
||||
// ECP will signal this event immediately once it is register
|
||||
// just in case it is already installed.
|
||||
//
|
||||
Status = gBS->LocateProtocol (
|
||||
|
@@ -7,7 +7,7 @@
|
||||
# This module produces PciCfgPpi on top of PciCfgPpi2. This module is used on platform when both of
|
||||
# these two conditions are true:
|
||||
# 1) Framework module is present that consumes PCI CFG AND
|
||||
# 2) R9 module is present that produces PCI CFG2 but not PCI CFG
|
||||
# 2) EDKII module is present that produces PCI CFG2 but not PCI CFG
|
||||
#
|
||||
# The Usage of this module is rare since EDK II module IntelFrameworkModulePkg\Universal\PcatSingleSegmentPciCfgPei\PcatSingleSegmentPciCfgPei.inf
|
||||
# that produce PCI CFG2 can also produce PCI CFG by setting Pcd Feature Flag gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciCfgDisable
|
||||
|
Reference in New Issue
Block a user